Re: Issue with ASP.NET client, COM Interop, and Identity impersonation
From: Willy Denoyette [MVP] (willy.denoyette_at_pandora.be)
Date: 10/01/04
- Next message: bruce barker: "Re: Issue with ASP.NET client, COM Interop, and Identity impersonation"
- Previous message: SteveK: "Re: question about System.String, CString, PCSTR, etc, etc"
- In reply to: Anil Krishnamurthy: "Issue with ASP.NET client, COM Interop, and Identity impersonation"
- Next in thread: Anil Krishnamurthy: "Re: Issue with ASP.NET client, COM Interop, and Identity impersonation"
- Reply: Anil Krishnamurthy: "Re: Issue with ASP.NET client, COM Interop, and Identity impersonation"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 1 Oct 2004 23:57:14 +0200
"Anil Krishnamurthy" <akrishnamurthy@nospam.air-worldwide.com> wrote in
message news:OsByoV$pEHA.1296@TK2MSFTNGP12.phx.gbl...
> We have an ASP.NET application that uses COM objects through Interop. The
> web application requires access to network and database resources and
> hence,
> needs to impersonate a domain account. The problem is that even when it is
> configured to run under a certain identity through Web.config, the
> impersonation is not carried through to COM library. Consequently, the
> code
> in COM object runs under a local account and any code that needs to access
> network will not work correctly.
How is that possible? if asp.net is running in a domain identity context AND
you don't have impersonation enabled, the in-proc COM object should run with
the same domain user's credentials, where else would the local account
identity come from?
Willy.
- Next message: bruce barker: "Re: Issue with ASP.NET client, COM Interop, and Identity impersonation"
- Previous message: SteveK: "Re: question about System.String, CString, PCSTR, etc, etc"
- In reply to: Anil Krishnamurthy: "Issue with ASP.NET client, COM Interop, and Identity impersonation"
- Next in thread: Anil Krishnamurthy: "Re: Issue with ASP.NET client, COM Interop, and Identity impersonation"
- Reply: Anil Krishnamurthy: "Re: Issue with ASP.NET client, COM Interop, and Identity impersonation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|