Serviced Component runs under ASPNET, not specified account
From: Gianluca Torta (giatorta_at_gmail.com)
Date: 01/24/05
- Next message: Phil C.: "Re: Use Dpapi with Shared Asp.Net Web Host?"
- Previous message: Svein Terje Gaup: "Re: Use Dpapi with Shared Asp.Net Web Host?"
- Next in thread: Svein Terje Gaup: "Re: Serviced Component runs under ASPNET, not specified account"
- Reply: Svein Terje Gaup: "Re: Serviced Component runs under ASPNET, not specified account"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 24 Jan 2005 11:04:54 -0800
Cross posting since I had no reply yet from
microsoft.public.dotnet.framework.component_services
Hi all,
I have an ASP.NET app and a Serviced Component that runs within a COM+
app
the Serviced Component is intended to access a remote database with an
identity that is NOT <MACHINE>\ASPNET but an account MYDOMAIN\MYUSER
that actually can access the remote database
the COM+ app has been configured to RUN AS SERVER and I have specified
in the identity tab that the app should run as MYDOMAIN\MYUSER
however, when I open my ASP.NET app and click on the button which
makes the call to the Serviced Component, I can see from SQL Server
Profiler that the user which tried to access the remote DB is
<MACHINE>\ASPNET
for some reason, the COM+ app is not running as the account that I
specify in the Identity tab but as the caller (which in this case is
<MACHINE>\ASPNET)
I guess I have some configuration problem, but I really couldn't
figure out what it is:
- I correctly wrote my Serviced Component
- I strongly named the assembly .DLL produced by compiling the
component
- I registered the component with regsvcs.exe
- my ASP.NET application references the DLL that has been strongly
named
Any suggestions would be welcome!
Thanks in advance,
-Gianluca Torta
- Next message: Phil C.: "Re: Use Dpapi with Shared Asp.Net Web Host?"
- Previous message: Svein Terje Gaup: "Re: Use Dpapi with Shared Asp.Net Web Host?"
- Next in thread: Svein Terje Gaup: "Re: Serviced Component runs under ASPNET, not specified account"
- Reply: Svein Terje Gaup: "Re: Serviced Component runs under ASPNET, not specified account"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]