ABCpdf .NET 与 Azure 应用服务
ABCpdf .NET with Azure App Service
我正在尝试将 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.
通常在 VM 中,我会将 Load User Profile
设置为 True
,它可以工作,但在 Azure App Service 中,我无权访问 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 应用程序(以前称为网站)修改注册表。因此,您会收到错误消息,因为该应用程序无法自行注册。作为多租户服务,您不能修改注册表。
您需要返回并再次查看该页面,他们建议使用 VM 或 web/worker 角色(两者都 do 允许修改注册表).
尽管这是几年前的事了,但它是“ABCpdf 应用程序服务”的 Whosebug 最热门问题,因此添加更新的答案似乎是中肯的。
自版本 12.1 起ABCpdf.NET 包含基于 WkHTMLToPdf 0.12.6(Qt 补丁版本)的 ABCWebKit HTML 渲染引擎。
虽然与默认的 ABCChrome 引擎相比有限,但它将启用在 Windows 使用基本应用服务计划 B1 及更高版本的 64 位 Azure 应用服务中呈现。
注意:它不适用于任何免费应用服务计划或 32 位实例。
更多信息:
我正在尝试将 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.
通常在 VM 中,我会将 Load User Profile
设置为 True
,它可以工作,但在 Azure App Service 中,我无权访问 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 应用程序(以前称为网站)修改注册表。因此,您会收到错误消息,因为该应用程序无法自行注册。作为多租户服务,您不能修改注册表。
您需要返回并再次查看该页面,他们建议使用 VM 或 web/worker 角色(两者都 do 允许修改注册表).
尽管这是几年前的事了,但它是“ABCpdf 应用程序服务”的 Whosebug 最热门问题,因此添加更新的答案似乎是中肯的。
自版本 12.1 起ABCpdf.NET 包含基于 WkHTMLToPdf 0.12.6(Qt 补丁版本)的 ABCWebKit HTML 渲染引擎。
虽然与默认的 ABCChrome 引擎相比有限,但它将启用在 Windows 使用基本应用服务计划 B1 及更高版本的 64 位 Azure 应用服务中呈现。
注意:它不适用于任何免费应用服务计划或 32 位实例。
更多信息: