This Domain(Admin5.com) is for Sale:

检查权限时Server.CreateObject 的调用失败,解决方法

时间:2009-04-04  来源:网络  更新时间:2006  作者:老K
BUG: ASP error 80070005 "Server.CreateObject Access" when you create a Visual Basic componentView products that this article applies to. This article was previously published under Q278013SYMPTOMSWhen 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: 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. CAUSEThe 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. RESOLUTIONTo 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 Winnt\System32 folder. STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section. MORE INFORMATIONWhen 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.

看完这篇,您有何感觉呢?

文章评论

共有位Admini5网友发表了评论 查看完整内容

24小时热门信息