检查权限时Server.CreateObject 的调用失败,解决方法
BUG: ASP error 80070005 "Server.CreateObject Access" when you create a Visual Basic component
This article was previously published under Q278013
SYMPTOMS
When you instantiate a Visual Basic component from an Active Server Pages (ASP) page, you may receive the following error:
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
With Visual Studio 6.0 Service Pack 5 (SP5), you may receive the following error message:
Server.CreateObject Access Error
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
Error number: -2147024891
ASP 0178 Server.CreateObject Access Error
The call to Server.CreateObject failed while checking permissions.
This error may occur after you install a new Visual Basic component on your Web server using a Standard Setup Package that was created on a computer with Microsoft Visual Studio 6.0 SP4 or SP5. ASP 0178 Server.CreateObject Access Error
The call to Server.CreateObject failed while checking permissions.
CAUSE
The authenticated user for the Visual Basic (VB) run-time file (Msvbvm60.dll) does not have sufficient permissions. The authenticated user is the IUSR_computername account when you use anonymous access or the user that is authenticated with the Web page.
RESOLUTION
To resolve this problem, assign Windows NT File System (NTFS) Read and Execute file permissions to the appropriate users for VB run time (Msvbvm60.dll). VB run time is usually located in the WinntSystem32 folder.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
MORE INFORMATION
When you use the Standard Setup Package to update VB run time on the Web server, the setup application replaces the existing VB run time with the updated version when you restart your computer. In addition, the setup application replaces the NTFS file permissions for the Everyone group with the user who installs the new application. Because a Visual Basic component depends on VB run time, when you try to create your component, the CreateObject method fails due to insufficient permissions to VB run time.
- 转载请注明来源:IT学习者 网址:http://www.itlearner.com/ 向您的朋友推荐此文章
- 文章关键词: 权限
- 特别声明: 本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系我们,我们会尽快予以更正。
- 上一篇:液晶显示器的保养和使用技巧
- 下一篇:网络富豪 百度李彦宏全球第二
- 查看2006年10月的文章归档
- 关闭 | 打印 | 保存
- ·分享比file_get_contents稳定的curl_get_contents
- ·ArrayOf_xsd_string格式在php下的处理
- ·Trying to clone an uncloneable object of class Imagic的解决
- ·win2003服务器使用WPS的COM组件的一些问题解决
- ·首选域的选择(根域名如何正确的跳转到www域名)
- ·PHP警告Cannot use a scalar value as an array的解决
- ·你见过ORDER BY -title DESC这种用法吗?
- ·mongodb在windows下的安装
- ·sphinx用c写的扩展性能还不如php写的api?
