Re: The call to Server.CreateObject failed while checking permissions. Access is denied to this object.



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


.



Relevant Pages

  • Re: Microsoft VBScript runtime error 800a01ad
    ... Dave, I found this article and, after following its instructions, got my DLL ... Debbie wrote: ... operating system is Windows Server 2003, Standard x64 Edition, Service ...
    (microsoft.public.inetserver.asp.components)
  • Re: Kerberos delegation trauma
    ... I have created a dll which has the code that creates a process that calls the ... > Kerberos delegation won't solve this. ... >> when the tool on my machine tries to access the server. ... On my machine I have set IE to have Enable Integrated Windows ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Failure Audit
    ... I am getting failure audits for all of the BES services. ... there been an update or patch released recently for Windows Firewall Server/ ... Computer: BES server ... User account: BES service account ...
    (microsoft.public.windows.server.general)
  • RE: Windows 2000 Server hangs so frequently
    ... This server keeps hanging at least once ... When I check on running processes on Windows Task Manager screen, ... it normalises and hangs again after a few days. ... that a COM+ .dll file can run in it's own process space. ...
    (microsoft.public.win2000.general)
  • Using secured COM+ component over a ASP.net WebService with impersonate
    ... a asp.net client with windows nt auth. ... a COM+ dll which is called over DCOM (the dll is on a remote W2k Server and ... only restiricted users can access this dll., the webservice server and the ...
    (microsoft.public.dotnet.framework.aspnet.security)