有没有人设法让 PDFCreator 在 ASP.NET 2.0 网站上运行?
在我的带有 Visual Studio 网络服务器的开发机器上,按照以下步骤操作就可以了:
- 使用 tlbimp 创建一个 com 互操作 dll
- 引用这个dll
- 写一些代码来使用它
但是,当我将它部署到我们的测试服务器时,它会因以下错误而惨遭失败:
Retrieving the COM class factory for component with CLSID {082391C9-8188-4364-B4FD-66A1524B2097} failed due to the following error: 80070005.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {082391C9-8188-4364-B4FD-66A1524B2097} failed due to the following error: 80070005.
而且我在 DCOMCNFG.msc 中找不到这个组件。
我们的服务器配置:
- 视窗 2003
- ASP.NET 2.0
- 微软办公室 XP
- PDFCreator 0.9.0