微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

带有Azure App Service的ABCpdf .NET

我正在尝试将ABCpdf .NET与Azure App Service一起使用,并在生成PDF时收到以下错误.
Unable to render HTML. Failed to configure IE 9 or above for the MSHtml engine: 
Access denied while writing to the registry. 
For IIS applications,please enable "Load User Profile" or 
consult MSHtmlBootstrap in the documentation.

通常在VM中我会将Load User Profile设置为True并且它可以正常工作但是在Azure App Service中,我无权访问IIS Application Pool配置.

根据ABCpdf的开发人员,它应该与Azure网站一起使用.

http://www.websupergoo.com/support-azure-abcpdf.htm

Windows Azure Web Sites

WAWS sites operate as 32-bit processes in a multi-tenanted environment. In order to isolate one site from another WAWS is locked down to prevent inter-process communication. While you may find ABCpdf (32-bit) will install to WAWS,we expect the functionality will be diminished.

解决方法

您无法使用Azure Web Apps(以前的Web站点)修改注册表.因此,您收到错误,因为该应用无法注册自己.作为多租户服务,您不得进行注册修改.

您需要返回并再次查看该页面,他们建议使用VM或Web /辅助角色(两者都允许注册修改).

原文地址:https://www.jb51.cc/html/231845.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐