【发布时间】:2014-05-23 08:28:33
【问题描述】:
我收到了 ABCpdf 组件抛出的异常: 部署到POC服务器(Windows 2008, 32 bit, IIS7 32 bit, Windows Authentication)时,组件在执行此操作时抛出异常:pdfDoc.AddImageUrl(uri);
Unable to render HTML. Unable to access URL.
COM error 80070005. Access is denied.
URL 'http://localhost:878/SimplePage.aspx'.
Same error, when replacing localhost with the actual IP:
Unable to render HTML. Unable to access URL.
COM error 80070005. Access is denied.
URL 'http://192.168.26.230:878/SimplePage.aspx'.
但是,从任何外部 uri 生成 PDF 都没有问题,例如 http://www.google.com。
访问被拒绝 WHAT ???
IIS 池正在网络服务帐户下运行。 但是当我将它设置为使用本地系统帐户运行时,它可以工作。
【问题讨论】: