SYMPTOMS
When debugging a WebClass from the Visual Basic IDE, the following error occurs:
Server object error 'ASP 0178 : 800a0005'
Server.CreateObject Access Error
/Temp/WebClass1.ASP, line 14
The call to Server.CreateObject failed while checking permissions.
Access is denied to this object.
You might also notice a Transaction Server Error entry in the NT Application Event Log. The details of the error message should look similar to this: Server.CreateObject Access Error
/Temp/WebClass1.ASP, line 14
The call to Server.CreateObject failed while checking permissions.
Access is denied to this object.
Failed on creation from object context: IClassFactory::CreateInstance
(ProgId: Project1.WebClass1) (CLSID: {C2B16A1D-3C8F-11D2-8015-
00C04FB9D877}) (Interface: IUnknown) (IID: {00000000-0000-0000-C000-
000000000046}) (Microsoft Transaction Server Internals Information: File:
d:\viper\src\runtime\context\ccontext.cpp, Line: 1220)
(ProgId: Project1.WebClass1) (CLSID: {C2B16A1D-3C8F-11D2-8015-
00C04FB9D877}) (Interface: IUnknown) (IID: {00000000-0000-0000-C000-
000000000046}) (Microsoft Transaction Server Internals Information: File:
d:\viper\src\runtime\context\ccontext.cpp, Line: 1220)
RESOLUTION
You need to give the IUSR_1. | Launch DCOMCNFG by clicking the Start button, selecting Run, and typing Dcomcnfg.exe in the Run dialog box. |
2. | In the Default Security tab, click Edit Default in the Default Access Permissions frame. The Registry Value Permissions dialog box appears. |
3. | Add the IUSR_ |
4. | In the Default Security tab, click Edit Default in the Default Launch Permissions frame. The Registry Value Permissions dialog box appears. |
5. | Add the IUSR_ |
6. | Close and re-open Visual Basic. |
Reference: http://support.microsoft.com/kb/192152
No comments:
Post a Comment