VB6 Server.CreateObject(“WebClassRuntime.WebClassManager”) fails on Windows Server 2008

旧城冷巷雨未停 提交于 2019-12-12 03:58:34

问题


I'm trying to get a VB6 Webclasses application running a Windows Server 2008 box. I was successful on one, and went to repeat my steps be sure before sending it off to QA and it doesn't work on the second server.

I have the application pool set to .NET 2.0 and Enable 32bit = true. ASP and IIS6 Metabase Compatibility are installed on the server. Under my Application > ASP, I set Enable Parent Paths to True. I have copied over and registered the dlls specific to the app, as well as MSWCRUN.dll, des-56.dll, dzactx.dll, MSINET.ocx, msscript.ocx, MSVBVM50.dll, MSVBVM60.dll, and scrrun.dll.

When I try to hit the app, I get a 500 Server Error. In the IIS logs, I can see the following: "ASP_0177_:_800a01f3|Server.CreateObject_Failed 443". Please help!


回答1:


I found it using Process Monitor. There were 2 versions of the dll for my code with different names and I had registered the wrong one.



来源:https://stackoverflow.com/questions/32386263/vb6-server-createobjectwebclassruntime-webclassmanager-fails-on-windows-serv

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!