Re: ASP .net impersonation not working
From: Rob (frank_at_myhouse.com)
Date: 06/23/03
- Previous message: Matjaz Ladava: "Re: ASP .net impersonation not working"
- In reply to: Matjaz Ladava: "Re: ASP .net impersonation not working"
- Next in thread: Matjaz Ladava: "Re: ASP .net impersonation not working"
- Reply: Matjaz Ladava: "Re: ASP .net impersonation not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 23 Jun 2003 15:58:19 -0600
Thanks for your help,
Yes we have a text box on the page showing who the user is that is currently
logged on and it is working. I think the problem is that the iis is
authenticating the user properly. When we try to go to the page remotely we
get prompted for a username and password. No matter what username and
password we type in to that box we get access denied, even admin accounting.
Does anyone know what way IIS differs in authentication of the user local to
the server or user remote?
Thanks again for your help
Rob.
"Matjaz Ladava" <matjaz@_nospam_ladava.com> wrote in message
news:uEnvE7cODHA.2788@TK2MSFTNGP10.phx.gbl...
> Prior to calling the page, that you get access denied read current user
> identity by executing WindowsIdentity.GetCurrent().Name and see if it
> matches the identity you think should be set.
>
> --
> Regards
>
> Matjaz Ladava, MCSE (NT4 & 2000)
> matjaz@ladava.com
> http://ladava.com
>
> "Rob" <frank@myhouse.com> wrote in message
> news:eOKFCscODHA.2316@TK2MSFTNGP12.phx.gbl...
> > 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
> >
> >
>
>
- Previous message: Matjaz Ladava: "Re: ASP .net impersonation not working"
- In reply to: Matjaz Ladava: "Re: ASP .net impersonation not working"
- Next in thread: Matjaz Ladava: "Re: ASP .net impersonation not working"
- Reply: Matjaz Ladava: "Re: ASP .net impersonation not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|