2012-03-03 90 views
0

我在新安装的虚拟服务器上配置了所有内容(IIS,网站,权限)后,运行default.asp文件时出现此错误。Windows Server 2003上的经典ASP

Server object error 'ASP 0177 : 800401f3' 

Server.CreateObject Failed 

/default.asp, line 30 

我发现ASP 0177的帖子非常有用。但我似乎无法解决它。它给出了这样的解决方案

A: This error means "Invalid class string" -- in other words the call to CreateObject failed because the name object cannot be found by the OLE sub-system. Causes include: 

1. You really didn't run regsvr32 on the server after all. 
2. You ran regsvr32 but it reported an error. 
3. Someone modified security on part of the registry that's preventing the OLE subsystem from reading all or part of the HKEY_CLASSES_ROOT tree. 
4. The name of the object you are trying to create was mispelled or is incorrect. 
5. Determine if it's a permissions problem 
6. Determine if it is a file permissions problem: 
7. Check registry permissions 

我需要注册哪个服务?安装IIS时,Server 2003上是否自动安装ASP?如果不是我需要更改什么设置?这是新安装的虚拟Windows Server 2003?

编辑:我觉得这个环节可能会奏效,但不知道ASP Win Svr 2003

EDIT2:代码:

Set BACSE = Server.CreateObject("NAICSCodeSE2_1_0.Engine") 
If Session("DEBUG") = "TRUE" then Response.Write "BACSE Debug="&BACSE.SetDebugMode(True)&"<BR>" 
+0

你有对的default.asp线30是什么?向我们展示代码。 – 2012-03-04 06:54:03

+0

你想创建什么对象?我们需要在回答之前看到你的代码。 – TheCarver 2012-03-04 14:22:39

+0

'Set BACSE = Server.CreateObject(“NAICSCodeSE2_1_0.Engine”)'在代码中添加 – 2012-03-04 14:55:26

回答

0

自定义COM组件首先需要在服务器中注册与下面的命令,使用前它在经典的ASP页面中。

REGSVR32 yourcomdllfile.dll

+0

我不知道DLL在哪里 – 2012-03-04 18:49:24

+0

你应该询问原始开发人员或找到它在正在工作的旧服务器中。 – 2012-03-05 01:58:03

+0

旧服务器崩溃,旧开发人员也离开了。 – 2012-03-05 12:02:08