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.
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.

Signature
Klaus H. Probst, MVP
http://www.simulplex.net/
> Hi all..
>
[quoted text clipped - 18 lines]
>
> P.S. The server is running Windos Server 2003.
Jaime Stuardo - 18 May 2005 04:54 GMT
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
> In Windows 2003 by default ASP.NET applications run under the NETWORK
> SERVICE account. You might want to configure the IIS application (are you
[quoted text clipped - 29 lines]
>>
>> P.S. The server is running Windos Server 2003.