DCOM permission denied

Tech-Archive recommends: Fix windows errors by optimizing your registry



I have moving the application from windows 2000 to windows 2003, that
application is using .net framework ver 1.1 and have their own COM library
to do a specify task. I have registed on "COM+ Services", but can't run
those aspx page:

error when run aspx pages:
Server Error in '/' Application.
----------------------------------------------------------------------------
----

Access is denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access is denied.

ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request identity.
ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or
Network Service on IIS 6) that is used if the application is not
impersonating. If the application is impersonating via <identity
impersonate="true"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer,
choose "Properties" and select the Security tab. Click "Add" to add the
appropriate user or group. Highlight the ASP.NET account, and check the
boxes for the desired access.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

***************************************
I checked from the application event log, it show below error:


Event Type: Error
Event Source: DCOM
Event Category: None
Event ID: 10016
Date: 9/11/2006
Time: 6:12:17 PM
User: NT AUTHORITY\NETWORK SERVICE
Computer: ????????
Description:
The application-specific permission settings do not grant Local Activation
permission for the COM Server application with CLSID
{C9182970-158C-41C3-A902-D7A7262A8961}
to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security
permission can be modified using the Component Services

administrative tool.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


.



Relevant Pages

  • .net user permissions in IIS
    ... We have a windows 2003 domain with 4 web servers in. ... (Exception from HRESULT: 0x80070005 ... the current web request. ...
    (microsoft.public.dotnet.framework.aspnet)
  • DOCM permission denied
    ... I have moving the application from windows 2000 to windows 2003, ... Exception Details: System.UnauthorizedAccessException: Access is denied. ... granting access rights to the resource to the ASP.NET request identity. ... The application-specific permission settings do not grant Local Activation ...
    (microsoft.public.windows.server.setup)
  • DCOM permission denied
    ... I have moving the application from windows 2000 to windows 2003, ... Exception Details: System.UnauthorizedAccessException: Access is denied. ... granting access rights to the resource to the ASP.NET request identity. ... The application-specific permission settings do not grant Local Activation ...
    (microsoft.public.dotnet.general)
  • Re: OMA on SBS is not working
    ... Security Exception ... Exception Details: System.Security.SecurityException: Request for the ... permission of type System.Security.Permissions.RegistryPermission, ...
    (microsoft.public.windows.server.sbs)
  • Re: Server Error in /OMA Application
    ... Simon, I searched the MSKB and found ... To grant this application the required permission ... > Exception Details: System.Security.SecurityException: Request for the ...
    (microsoft.public.exchange.applications)