windows 2003 下Server.CreateObject 不能访问的解决办法(转)
2008-05-29 10:38
281 查看
在把ASP应用程序从 Windows 2000 Server 转移到 Windows Server 2003 以后,运行程序到创建数据库连接对象的时候出现这样的错误:
![](http://www.ziyuehome.com/images/quote.gif)
引用内容
Server 对象 错误 'ASP 0178 : 80070005'
Server.CreateObject 访问错误
/conn.asp,行 9
检查权限时,对 Server.CreateObject 的调用失败。拒绝对此对象的访问。
如果是英文的话,可能是这样提示的:
![](http://www.ziyuehome.com/images/quote.gif)
引用内容
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/conn.asp, line 99
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
竟然连创建数据库连接对象都不行,“看来Server 2003是够安全的(网友语)”。
最后在微软的知识库里面搜索了一下找到一篇,他说设置一下%ProgramFiles%/Common Files/System的权限:
![](http://www.ziyuehome.com/images/quote.gif)
引用内容
Add Everyone to the existing permissions, give at least Read permissions to Everyone, and apply these new settings to all files and subfolders.
我按他的方法增加了Everyone可以读的权限,但是依然不行。
最后,我给Everyone赋予可以修改的权限,最后错误消失了,ASP可以顺利运行,呵呵,我又看到了久违的熟悉的页面。
[UP:2006-12-10]自己创建的组件也可能出现这样的错误,但是原因不一定是这样,没有深究,如果您遇到问题,到http://wwwf.cn/article.asp?id=500看看,能不能解决。
http://www.ziyuehome.com/trackback.asp?tbID=61&action=addtb&tbKey=9f07df47c0b6d431c213eafcd5957898e11cc80a
![](http://www.ziyuehome.com/images/quote.gif)
引用内容
Server 对象 错误 'ASP 0178 : 80070005'
Server.CreateObject 访问错误
/conn.asp,行 9
检查权限时,对 Server.CreateObject 的调用失败。拒绝对此对象的访问。
如果是英文的话,可能是这样提示的:
![](http://www.ziyuehome.com/images/quote.gif)
引用内容
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/conn.asp, line 99
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
竟然连创建数据库连接对象都不行,“看来Server 2003是够安全的(网友语)”。
最后在微软的知识库里面搜索了一下找到一篇,他说设置一下%ProgramFiles%/Common Files/System的权限:
![](http://www.ziyuehome.com/images/quote.gif)
引用内容
Add Everyone to the existing permissions, give at least Read permissions to Everyone, and apply these new settings to all files and subfolders.
我按他的方法增加了Everyone可以读的权限,但是依然不行。
最后,我给Everyone赋予可以修改的权限,最后错误消失了,ASP可以顺利运行,呵呵,我又看到了久违的熟悉的页面。
[UP:2006-12-10]自己创建的组件也可能出现这样的错误,但是原因不一定是这样,没有深究,如果您遇到问题,到http://wwwf.cn/article.asp?id=500看看,能不能解决。
http://www.ziyuehome.com/trackback.asp?tbID=61&action=addtb&tbKey=9f07df47c0b6d431c213eafcd5957898e11cc80a
相关文章推荐
- Windows 7英文版访问2003或XP共享时提示用户名密码错误的解决办法
- 在linux下无法访问Windows下的文件,显示错误为:不能访问软件的解决办法
- adodb.stream对象访问失败server.createObject权限失败的解决办法
- “windows 2003域用户在客户端用域服务器IP和域名称访问IIS提示输入用户名密码”解决办法
- 在Vista,WIN2K8下IE7.0就不能正常访问asp.net development server解决办法
- Windows 2003(iis 6.0)不能直接下载某些格式的文件解决办法
- 解决Windows 2003 Server 上MSN不能登录、升级
- Windows 2003上Oracle通过端口映射访问连接超时的解决办法
- 为什么WINDOWS在运行里输入IP地址不能访问网络位置的解决办法
- Windows 2003上Oracle通过端口映射访问连接超时的解决办法
- windows 2003 server右键菜单没有共享选项的解决办法
- server2003 webAPI 访问不了的解决办法
- Windows Storage Server 2008 R2 Standard(64位),Win7(64位)的PLSQL不能连接oracle的解决办法
- Windows 2003下不能安装《会声会影12》的解决办法
- Apache Windows下无权限访问Server文件目录解决办法
- 安装window server 2003 的sp2的时候出现错误“拒绝访问”的解决办法
- Windows 2003 server远程桌面连接“终端服务器超出了最大允许连接数”的解决办法
- windows 2003 Server系统Web上传文件不能超过200K的解决方法
- Windows Adv Server 2000添加删除程序不能打开解决办法!
- 在Vista,WIN2K8下IE7.0就不能正常访问asp.net development server解决办法