|
Home > Archive > IIS Server Security > May 2004 > Error ASP 0178 on Windows 2003 Server (IIS6) by Server.CreateObject on DCOM registred
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Error ASP 0178 on Windows 2003 Server (IIS6) by Server.CreateObject on DCOM registred
|
|
| Martin 2004-03-26, 11:54 am |
| When I try to do Server.CreateObject on DCOM (not com+) registred component, I receive the
following message:
'''''''''''''''''''''''
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/MyDirectory/MyPage.asp, line xxx
The call to Server.CreateObject failed while checking permissions.
Access is denied to this object.
'''''''''''''''''''''''
- The object is registred (DCOM, not a object.dll) on a Windows 2003 Server (IIS6) where the ASP is running.
The object.dll is registred in MTS on the remote Server
- Create Instance in OLEViewer works fine
- CreateObject in a .vbs File works fine
- The ASP where Server.CreateObject failed runs as IUSR_SERVERNAME on the Windows 2003 Server
- The same ASP works fine if the ASP is running on a Windows Server 2000 (IIS5)
Question is: How do I fix it so that I can announouse access?
Thanks in advance
Martin
| |
| Egbert Nierop \(MVP for IIS\) 2004-03-27, 1:36 pm |
| "Martin" <steffen.martin@freesurf.ch> wrote in message
news:7CB6E793-D01A-410B-AD3C-123486F3E1D9@microsoft.com...
> When I try to do Server.CreateObject on DCOM (not com+) registred
component, I receive the
> following message:
>
> '''''''''''''''''''''''
> Server object error 'ASP 0178 : 80070005'
>
> Server.CreateObject Access Error
>
> /MyDirectory/MyPage.asp, line xxx
>
> The call to Server.CreateObject failed while checking permissions.
> Access is denied to this object.
> '''''''''''''''''''''''
> - The object is registred (DCOM, not a object.dll) on a Windows 2003
Server (IIS6) where the ASP is running.
> The object.dll is registred in MTS on the remote Server
> - Create Instance in OLEViewer works fine
> - CreateObject in a .vbs File works fine
> - The ASP where Server.CreateObject failed runs as IUSR_SERVERNAME on the
Windows 2003 Server
> - The same ASP works fine if the ASP is running on a Windows Server 2000
(IIS5)
>
> Question is: How do I fix it so that I can announouse access?
On IIS6 you might try 'network service'.
Where do you install these components? I hope not in System32...
> Thanks in advance
> Martin
>
| |
| Redmoon 2004-05-20, 2:40 am |
| "Egbert Nierop \(MVP for IIS\)" <egbert_nierop@nospam.com> wrote in
news:#KjjGmCFEHA.3880@TK2MSFTNGP10.phx.gbl:
> "Martin" <steffen.martin@freesurf.ch> wrote in message
> news:7CB6E793-D01A-410B-AD3C-123486F3E1D9@microsoft.com...
> component, I receive the
In Component Service
set your COM+ Application option "authorization"=flase
Enjoy!
[vbcol=seagreen]
> Server (IIS6) where the ASP is running.
> Windows 2003 Server
> (IIS5)
>
> On IIS6 you might try 'network service'.
> Where do you install these components? I hope not in System32...
>
>
>
|
|
|
|
|