ABCPDF无法访问FACILITY

编程入门 行业动态 更新时间:2024-10-22 08:25:00
ABCPDF无法访问FACILITY_INTERNET中的URL COM错误800c0019(ABCPDF Unable to access URL COM error 800c0019 in FACILITY_INTERNET)

我在win7 x32上使用ABCPDF v8.1.1.1和.net 4.0。 当我尝试在https上从URl打印页面时出现错误:

“无法呈现HTML。无法访问FACILITY_INTERNET中的URL COM错误800c0019。驱动器无法在磁盘上找到特定区域或轨道.URL”

at WebSupergoo.ABCpdf8.Doc.AddUrl(String url, Boolean paged, Int32 width, Boolean disableCache) at WebSupergoo.ABCpdf8.Doc.AddImageUrl(String url, Boolean paged, Int32 width, Boolean disableCache)

但是当我在http上打印时一切都还可以。 谁知道如何解决这个问题?

I use ABCPDF v8.1.1.1 on win7 x32 with .net 4.0. When I tried to print page from URl on https I got an error:

"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. URL "

at WebSupergoo.ABCpdf8.Doc.AddUrl(String url, Boolean paged, Int32 width, Boolean disableCache) at WebSupergoo.ABCpdf8.Doc.AddImageUrl(String url, Boolean paged, Int32 width, Boolean disableCache)

But when I print on http everything is OK. Who know how to resolve this problem?

最满意答案

从Rup所说的关于它是一个https问题的猜测中,可能是服务器无法看到该页面。

请记住,如果这是在生产服务器上的生产e..g,它的服务器正在尝试查看页面以将其添加到pdf链,获取您尝试查看的URL并将其加载到服务器上。

如果服务器位于NAT后面,则无法看到自己的公共IP地址,在这种情况下,您需要向服务器上的hosts文件添加自定义条目。

文件位置= C:\ WINDOWS \ system32 \ drivers \ etc \ hosts

入口应该看起来像......

# Added to resolve websites locally, instead of to their public IPs 127.0.0.1 www.yourdomain.com

Taking a guess from what Rup said about it being a https issue, it could be that the server cant see the page.

Remember that if this is in production e..g on a live server, its the server that is trying to view the page to add it to the pdf chain, get the URL you are trying to view and load it on the servers broswer.

If might be that if the server is behind a NAT it cant see its own public IP address in which case you need to add a custom entry to the hosts file on the server.

file location = C:\WINDOWS\system32\drivers\etc\hosts

Entry should look something like...

# Added to resolve websites locally, instead of to their public IPs 127.0.0.1 www.yourdomain.com

更多推荐

本文发布于:2023-07-23 18:42:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1235683.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:无法访问   ABCPDF   FACILITY

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!