azure - ABCpdf .NET 与 Azure 应用服务

标签 azure azure-web-app-service abcpdf

我尝试将 ABCpdf .NET 与 Azure 应用服务结合使用,但在生成 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.

通常在虚拟机中,我会将加载用户配置文件设置为True并且它可以工作,但在Azure应用服务中,我无权访问IIS应用程序池配置。

根据 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(以前称为网站)修改注册表。因此,您会收到错误,因为应用程序无法自行注册。作为 Multi-Tenancy 服务,您不得修改注册表。

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

关于azure - ABCpdf .NET 与 Azure 应用服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38375671/

相关文章:

azure - 从 Azure Key Vault 删除证书?这会删除证书资源类型吗?

azure - Azure 网站服务器时区数据错误

azure - 如何创建可访问 WebSiteManagementClient 的 Azure 凭据?

c# - ABC 上的符号字体pdf

pdf-generation - 优化 ABCpdf 文件大小

azure - WSL2 上的 powershell 浏览器访问

c# - 提高 Linq SQL 查询性能

mongodb - 从 SQL Azure 中获取大行 - 但去哪里?表、Blob 或 MongoDB 之类的东西?

asp.net - 反复调用AddImageUrl(url) 组装pdf文件

azure - 如何使用 azure arm 模板创建 azure webjob?