将Classic asp项目从Windows Server 2003(IIS 6)迁移到Windows Server 2008 R2(IIS 7.5)时,在日志中选中时,菜单未加载。它显示以下错误。
Menu.asp |107|ASP_0177_:_800401f3|Server.CreateObject_Failed
检查代码后,该行显示
Server.CreateObject("webCalendarv1.objCalandar")
有人可以帮助我,为什么我会收到这个错误。
答案 0 :(得分:0)
Server.CreateObject_Failed
此类错误通常表示您尝试引用的组件(DLL)未安装在该服务器上,或者您的语法不正确。
正如你所说,你已经移动了服务器,我建议你检查一下
webCalendarv1.objCalandar
组件已在新服务器上安装/注册。很可能你可以移动相关的DLL文件并运行;
Regsvr32.exe nameofthecomponent.dll
您需要检查的一件事是,您的组件的正确位版本与Windows Server操作系统的位版本相匹配。 IIS中有一个选项允许在64位Windows服务器上使用32位组件用于特定的应用程序池。