Re: The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
- From: "Jaime Stuardo" <jstuardo@xxxxxxxxxxxxx>
- Date: Tue, 17 May 2005 23:54:29 -0400
Finally, in order for it to work, I had to add a role to the COM+
application, and add IUSR_<machine> to that role.
Why did I have to do this when using .NET and Windows Server 2003, but not
using Windows 2000/XP and a component developed in VS 6.0?
What "role" plays the "role" in Component Services? It only allows to add
names, but not to define certain permissions... so I'm wondering what is the
reason of that matter.
Jaime
"Klaus H. Probst" <usenet001@xxxxxxxxxxxxx> wrote in message
news:Od9XEYeWFHA.3572@xxxxxxxxxxxxxxxxxxxxxxx
> In Windows 2003 by default ASP.NET applications run under the NETWORK
> SERVICE account. You might want to configure the IIS application (are you
> using a separate pool?) to use a specific identity.
>
> The mscoree.dll bit is correct - it functions as a surrogate.
>
> --
> Klaus H. Probst, MVP
> http://www.simulplex.net/
>
>
> "Jaime Stuardo" <jstuardo@xxxxxxxxxxxxx> wrote in message
> news:uLryhmdVFHA.2328@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi all..
>>
>> I'm new in .NET framework.
>> I have developed a COM component in VS.NET. When I compiled it in a DLL
> and
>> then registered in Component Services, I get the error:
>>
>> "The call to Server.CreateObject failed while checking permissions.
>> Access
>> is denied to this object. "
>> I have tried everything, for example, configured a predefined user in
>> Identity tab of the COM+ application, add IUSR_<machineName> for access
>> to
>> the DLL and so on, but nobody has success. How can I solve this?
>>
>> I have followed all microsoft help about this problem, but it didn't
>> work.
>>
>> Is it normal when I go to component properties, mscoree.dll appears as
>> the
>> DLL file instead of the actual DLL?
>>
>> Thanks a lot in advance
>>
>> Jaime
>>
>> P.S. The server is running Windos Server 2003.
>>
>>
>
>
.
- References:
- Prev by Date: Re: Strange behaviour with autocomplete and exceptions
- Next by Date: COM+ Queued Component Listener Exception
- Previous by thread: Re: The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
- Next by thread: Using an enumeration as a parameter to serviced component method
- Index(es):
Relevant Pages
|