RE: ASP.NET Error in instancing a COM+ object.
From: Patrick C. Cole (patcole@online.microsoft.com)
Date: 08/08/02
- Next message: Sergius Adamtchouk: "help with impersonation"
- Previous message: Kim Bach Petersen: "Re: Repost from aspnet - still looking for an answer - dynamically include virtual directory content"
- In reply to: Daniel Graham: "ASP.NET Error in instancing a COM+ object."
- Next in thread: Patrick C. Cole: "RE: ASP.NET Error in instancing a COM+ object."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: patcole@online.microsoft.com (Patrick C. Cole (MS)) Date: Thu, 08 Aug 2002 13:11:25 GMT
Daniel,
We are currently researching this issue, will respond with more information
as soon as possible.
Patrick Cole
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
--------------------
| Content-Class: urn:content-classes:message
| From: "Daniel Graham" <daniel.graham@fiserv.com>
| Sender: "Daniel Graham" <daniel.graham@fiserv.com>
| Subject: ASP.NET Error in instancing a COM+ object.
| Date: Mon, 5 Aug 2002 10:51:22 -0700
| Lines: 50
| Message-ID: <0cf101c23ca8$b6188df0$a4e62ecf@tkmsftngxa06>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcI8qLYY5EA4DT3VRIaCMFickRVw9w==
| Newsgroups: microsoft.public.dotnet.framework.aspnet.security
| Path: cpmsftngxa08
| Xref: cpmsftngxa08 microsoft.public.dotnet.framework.aspnet.security:1796
| NNTP-Posting-Host: TKMSFTNGXA06 10.201.232.165
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
|
| Hello all,
| I have an ASP.NET application that I am trying to run on
| my local machine (Windows XP) that is referencing a COM+
| object that is running on an application server (Win2k).
| The application server is on a different Windows domain
| than my local web server, but there has been a domain
| trust established. Also, if I develop a Desktop app with
| VB.NET and make a reference to the same COM+ object,
| everything works just fine, it's only in ASP.NET that I'm
| getting a security problem. The error I get upon
| attempting to create an instance of my object is this:
|
| Server Error in '/DRSNETLocalTest' Application.
| ----------------------------------------------------------
| ----------------------
|
| Access to the registry key
| HKEY_CLASSES_ROOT\DRSReportDataObject.DRSReportDataObject.
| ReportDataObject 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 to the registry key
| HKEY_CLASSES_ROOT\DRSReportDataObject.DRSReportDataObject.
| ReportDataObject is denied.
|
| The ASP.NET process is not authorized to access the
| requested resource. For security reasons the default
| ASP.NET process identity is '{machinename}\ASPNET', which
| has limited privileges. Consider granting access rights
| to the resource to the ASP.NET process identity.
|
| 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 "{machinename}
| \ASPNET" user. Highlight the ASP.NET account, and check
| the Write box in the Allow column.
|
|
| I have tried everything on the application server by even
| adding the local user account ASPNET to the
| Administrators group. Nothing I have tried works yet. Any
| ideas?
|
| Thanks,
| Daniel Graham
|
|
- Next message: Sergius Adamtchouk: "help with impersonation"
- Previous message: Kim Bach Petersen: "Re: Repost from aspnet - still looking for an answer - dynamically include virtual directory content"
- In reply to: Daniel Graham: "ASP.NET Error in instancing a COM+ object."
- Next in thread: Patrick C. Cole: "RE: ASP.NET Error in instancing a COM+ object."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|