Server object error 'ASP 0177 800401f3' 错误的原因

学习了解了一下博客的引用通告功能,于是想试验一下。在发博客文章时,输入了其他博客的引用通告地址,就出现下面的错误了~

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/common/function.asp, line 625

800401f3

网上找了一下原因:
Server.CreateObject错误 是指某个组件没有被正确安装或者服务器不支持(没有安装)。

于是知道了,原来是门户通空间禁用了相关组件的问题。郁闷。

不过如果是在自己电脑或者服务器上测试出现这个问题,可以用下面的方法解决:

1. 调用”server.createObject(“mssearch.application”)”的时候发生错误,解决如下:

开始->运行->dcomcnfg

找到”mssearch”(这个名称取决于你调用的Object是什么),然后右键->Properties->security把三个权限都给everyone即可,其实第一个即可.

2. 出现上述问题时,原因确实是权限的问题。

一种解决办法是修改IIS的匿名访问的权限。

第二种最简单的办法就是将你的组件换个地方注册,特别是不要放到桌面或C盘的(系统盘)的某些特殊目录下注册;而应该放到如D,E等盘。原因是因为通常你的IIS所使用的帐号都是系统权限较低的帐号,如果你是以自己的帐号登录,那么桌面的访问的权限可能比IIS的帐号权限高。

3. 查了MS的资料库,解决的方法如下:

This article was previously published under Q315454
SYMPTOMS
When you attempt to browse to an Active Server Page (ASP) database results page created in Microsoft FrontPage, you may receive an error message similar to the following:
程序代码:
Server object error 'ASP 0178 : 80070005'

Server.CreateObject Access Error

../config/coon.asp, line 5

The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
CAUSE
This behavior can occur if incorrect NTFS permissions are defined for your “%ProgramFiles%Common FilesSystem” folder.
RESOLUTION
To resolve your issue, reset the NTFS permissions on the “%ProgramFiles%Common FilesSystem” folder. To do this, follow these steps:
1.. Open Windows Explorer. To do this, right-click Start and then click Explore on the shortcut menu.
2.. In Folders view, expand the “%ProgramFiles%Common FilesSystem” folder.
3.. Right-click the folder and click Properties on the shortcut menu.
4.. Click the Security tab.
5.. Add Everyone to the existing permissions, give at least Read permissions to Everyone, and apply these new settings to all files and subfolders.
6.. Click OK.

点赞 (0)

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

Captcha Code