0

在新安装的虚拟服务器上配置所有内容(IIS、网站、权限)后,运行default.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 时,ASP 不是自动安装在 Server 2003 上吗?如果不是,我需要更改什么设置?这是新安装的Virtual 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>"
4

1 回答 1

0

自定义 COM 组件首先需要使用以下命令在服务器中注册,然后才能在经典 ASP 页面中使用它。

regsvr32 yourcomdllfile.dll

于 2012-03-04T15:31:12.463 回答