Impersonation

From: Trevor Lawrence (TrevorL@ise.canberra.edu.au)
Date: 12/17/02


From: "Trevor Lawrence" <TrevorL@ise.canberra.edu.au>
Date: Wed, 18 Dec 2002 08:51:07 +1100


I have an ASP.NET app that needs to start a thread and Impersonate. This is
workinh fine on a Win2K server, but when I move it onto my local XP
workstation the Impersonate call fails with an "unable to impersonate"
error.

What are the differences in rights assignments in the two OSes that lets it
work on one and not on the other? Or am I barking up the wrong tree?

Trevor Lawrence
School of Computing
University of Canberra



Relevant Pages

  • Re: can a .NET app get access to a shared doc in SPS?
    ... >> I would suggest that you provide an ASP.NET app that allows the user to ... >> using the primary key from Oracle into a document library in Sharepoint ... >> your ASP.NET app would impersonate a domain account that has write ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: SQL2k3 connectivity problems
    ... I want one user that my app is running under. ... IIS is configured to use this user for anonymous. ... Why wouldn't ASP.Net just follow the rules, and impersonate ... > Why are you using integrated security in an ASP.NET app? ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Network permissions for w3wp.exe?
    ... There is a function on the Microsoft support site that allows you to ... impersonate a specific user in code. ... user, access the share, then switch back. ... > I have an ASP.NET app that is running on a W2k3 DC. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Impersonation
    ... Try to identify wether it fixes a problem or not - add ASP.NET and IUSR account to local ... When machine.config says "System" the app works. ... | set to "machine" it prangs with "unable to impersonate". ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: asp.net: changing logon time to get LOGON32_LOGON_NETWORK_CLEARTEXT ?
    ... mode="Windows" will not insure that the the app will ... impersonate under the user. ... It is likely that the users are using the local ASPNET ... >> Yury. ...
    (microsoft.public.dotnet.framework.aspnet.security)