如何部署Web应用程序

时间:2014-09-04 06:09:29

标签: asp.net windows dll deployment 32bit-64bit

我想在2008服务器中部署Web应用程序

在Web应用程序中使用一个第三方dll文件进行加密(dencrpt.dll)

在运行时第3工具期间在windows2008服务器中部署应用程序,显示注册错误

"Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154"

然后我注册了dll文件,但dll文件在运行时根本不工作。

我做了以下练习来解决问题,但没有结果

1) Builded the application in 32bit environment (x86 mode) in windows7 operation system and deployed in windows 2008 server
2) Registerd the 3rd party dll file from the deployed bin folder using regsvr32 in server 2008 (selected cmd as Administration mode for registration)
3) Enabled 32bit enivormnent in application pool in server2008
4) Copied the 3rd party dll file to system32 & syswow64 and registerd using regsvr32 in server2008, registered succeed. (selected cmd as Administration mode for registration)

在运行时期间应用程序不使用dencrypt.dll并且在运行时期间也没有显示任何错误,因此它正在跳过。应用程序需要使用dll文件。

注意:这不是重复问题我也遵循此链接(http://stackoverflow.com/questions/1036856/retrieving-the-com-class-factory-for-component-with-clsid-xxxx-failed-due-to-t)的相同说明,但仍面临问题

并且还没有其他dll依赖

请任何人帮我解决这个问题。

0 个答案:

没有答案