ASP .net impersonation not working

From: Rob (frank_at_myhouse.com)
Date: 06/23/03


Date: Mon, 23 Jun 2003 15:03:37 -0600


I have a couple of pages that I'm using in an Intranet site. One page
accesses a file server to display contents of it and another grabs
information and display's it from a SQL database.

Now the web server is running Win2K and IIS 5 or above.

And when I browse the pages locally the impersonation works just fine. When
I try and view the pages from any location other then the server I get
access denied errors and Login failed errors for the file one and the SQL
one respectively.

I have the IIS set to Windows Authentication, I have impersonation = true in
the webconfig file. Is there anything that would stop it from working?

Thanks for your help

Rob



Relevant Pages

  • Re: ASP .net impersonation not working
    ... > Now the web server is running Win2K and IIS 5 or above. ... > And when I browse the pages locally the impersonation works just fine. ... > access denied errors and Login failed errors for the file one and the SQL ... > I have the IIS set to Windows Authentication, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Going from anonymous security to Windows Security in an ASP.NET application
    ... as I said in my previous post - there is no context on the client... ... Your page.context exists purely on the server. ... we need to have our own login page instead of the standard Windows logon ... impersonation, which takes place on the server has no effect on page ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Impersonation question
    ... I am trying to get a better understanding of how impersonation works and I ... I have read that one can't access resources on network shares while ... provide enough credentials to the remote server to allow the remote server ...
    (microsoft.public.security)
  • Re: Login failed for user (null). Reason: Not associated with a trusted SQL Server connection.
    ... Are you in an AD realm? ... be passed to the server which contains the sql database - just ... Setup impersonation on your web site, using the Identity node in the ... The aspnet user on the database server has ...
    (microsoft.public.dotnet.general)
  • Re: Login failed for user (null). Reason: Not associated with a trusted SQL Server connection.
    ... Are you in an AD realm? ... be passed to the server which contains the sql database - just ... Setup impersonation on your web site, using the Identity node in the ... The aspnet user on the database server has ...
    (microsoft.public.inetserver.iis)