Dream Maker 老漂 不要有和人斗的心,你要赢的是你自己!

检查权限时,对 Server.CreateObject 的调用失败。拒绝对此对象的访问

在把ASP应用程序从 Windows 2000 Server 转移到 Windows Server 2003 以后,运行程序的时候出现这样的错误:Server 对象 错误 'ASP 0178 : 80070005' Server.CreateObject 访问错误 /conn.asp,行 9 检查权限时,对 Server.CreateObject 的调用失败。拒绝对此对象的访问。

如果是英文的话,可能是这样提示的:Server object error 'ASP 0178 : 80070005'Server.CreateObject Access Error/conn.asp, line 99The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

微软的知识库里说设置一下%ProgramFiles%\Common Files\System的权限:Add Everyone to the existing permissions, give at least Read permissions to Everyone, and apply these new settings to all files and subfolders.按此方法,增加Everyone读权限和修改的权限(一定都要?),错误消失,问题解决!
 

老漂点评:其实不用给整个目录权限.毕竟那是系统目录.给某个dll组件权限即可

Tags: asp dll

发布: 老漂 分类: 网站|站长 评论: 0 浏览: 285
留言列表
发表留言
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。