PRB:浏览到 WebClass 应用程序时,出现服务器对象错误“ASP 0177:800401f3”

来源:互联网 发布:golang mgo find 大于 编辑:程序博客网 时间:2024/05/17 08:24

症状

当您浏览到您的 WebClass 应用程序(Internet Information Server 应用程序)时,您会在浏览器中收到以下错误信息:
Server object error 'ASP 0177 :800401f3'
Server.CreateObject failed
YourWebClass.asp, line 8
Invalid class string
其中第 8 行包含以下代码:
Set Application("~WC~WebClassManager") = Server.CreateObject("WebClassRuntime.WebClassManager")

原因

您的 Web 服务器上不存在“WebClass 运行时”文件 (Mswcrun.dll),或者“WebClass 运行时”没有注册。“WebClass 运行时”是您的 WebClass 应用程序正常运行所需的系统文件之一。

解决方案

验证您的 Web 服务器上是否存在“WebClass 运行时”。如果不存在,请使用“打包和展开向导”创建标准的安装程序包。在 Web 服务器上运行安装程序包,以安装和注册所需的系统文件(其中包括“WebClass 运行时”)。

如果 Web 服务器上存在“WebClass 运行时”,您必须对它进行注册。为此,请在命令提示符下键入以下命令:
regsvr32 "C:/Program Files/Common Files/Designer/mswcrun.dll"
注意:身份验证用户(如果使用匿名访问,则为 IUSR_machinename)需要具有对 Mswcrun.dll 的“读取”和“执行 NTFS”的权限。

状态

这种现象是设计所导致的。

参考

有关其他信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:
242550 (http://support.microsoft.com/kb/242550/) INFO:运行 WebClasses(IIS 应用程序)需要系统文件

这篇文章中的信息适用于:
• Microsoft Internet Information Server 3.0 • Microsoft Internet Information Server 4.0 • Microsoft Internet Information Services 5.0 • Microsoft Visual Basic 6.0 企业版 • Microsoft Visual Basic 6.0 专业版
回到顶端 回到顶端
关键字: 
kberrmsg kbwebclasses kbprb KB258932
原创粉丝点击