【问题标题】:Classic ASP on Windows Server 2003Windows Server 2003 上的经典 ASP
【发布时间】:2012-03-03 21:39:00
【问题描述】:

在新安装的虚拟服务器上配置所有内容(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>"

【问题讨论】:

  • default.asp 的第 30 行有什么?向我们展示代码。
  • 您要创建的对象是什么?我们需要在回答之前查看您的代码..
  • `Set BACSE = Server.CreateObject("NAICSCodeSE2_1_0.Engine")' 添加在代码中

标签: asp-classic windows-server-2003 createobject


【解决方案1】:

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

regsvr32 yourcomdllfile.dll

【讨论】:

  • 我不知道DLL在哪里
  • 您应该询问原始开发人员或在正在运行的旧服务器中找到它。
  • 旧服务器崩溃,老开发者也离开了。
  • @Thecrocodilehunter 您可以使用该脚本通过将 CLSID 作为参数传递来获取 dll 位置。 (NAICSCodeSE2_1_0.Engine)support.softartisans.com/kbview_1294.aspx
猜你喜欢
  • 2023-03-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2010-11-15
  • 1970-01-01
  • 1970-01-01
  • 2010-09-23
相关资源
最近更新 更多