简体   繁体   English

无法呈现 HTML。 无法访问 URL。 FACILITY_INTERNET 中的 COM 错误 800c0019。 驱动器无法定位磁盘上的特定区域或磁道

[英]Unable to render HTML. Unable to access URL. COM error 800c0019 in FACILITY_INTERNET. The drive cannot locate a specific area or track on the disk

I am getting the above error message in production when trying to call the AddImageUrl section of ABCPdf (version 10).尝试调用 ABCPdf(版本 10)的 AddImageUrl 部分时,我在生产中收到上述错误消息。 This started occurring yesterday just after midday my hosting provider assures me nothing has changed I am the only developer on the project as was working on something else entirely.这开始发生在昨天中午刚过我的托管服务提供商向我保证没有任何改变我是该项目的唯一开发人员,因为正在完全从事其他工作。

The URL provided in the stack trace can be accessed in IE on the web server without any error messages (including SSL).堆栈跟踪中提供的 URL 可以在 web 服务器上的 IE 中访问,而不会出现任何错误消息(包括 SSL)。 There is also a UAT environment on the same web server in which the PDF works, the UAT environment is identical in code and application pool settings, the only difference is the web address and database. PDF工作的同一台web服务器上还有一个UAT环境,UAT环境在代码和应用程序池设置上是相同的,唯一的区别是web地址和数据库。

The HTML the PDF is calling can take a little time to come up on first load. HTML PDF 调用可能需要一点时间才能在第一次加载时出现。 Given that data is different I have increased the timeout from 15 seconds to 2 minutes.鉴于数据不同,我将超时时间从 15 秒增加到 2 分钟。

I have arranged a reboot to see if that fixes it, but I have run out of things to check.我已经安排了重新启动以查看是否可以修复它,但是我已经用完了要检查的东西。


Edit: I did think of one further check, could I add the image of a page not on the site ( https://www.google.co.uk/ ), doing this resulted in the same error so it appears not to be a blocking issue on the worker process.编辑:我确实想到了进一步检查,我可以添加不在网站上的页面的图像( https://www.google.co.uk/ ),这样做会导致相同的错误,所以它似乎不是工作进程的阻塞问题。

— Edit2: switched to the gecko engine and it is now working. — Edit2:切换到 gecko 引擎,它现在正在工作。

You can sometimes get this error if the web browser within Abcpdf cant access the URL.如果 Abcpdf 中的 web 浏览器无法访问 URL,您有时会收到此错误。

On the webserver add the URLs directly to the local machine hosts file在网络服务器上,将 URL 直接添加到本地机器的 hosts 文件中

C:\Windows\System32\drivers\etc\hosts

The entry should look something like this条目应该看起来像这样

127.0.0.1   example.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM