Re: ASP .net impersonation not working

From: Matthew Honkanen (mhonkanen_at_feico.com)
Date: 06/24/03


Date: Tue, 24 Jun 2003 12:21:32 -0700


Not sure if this is related, but make sure that the server
name conforms to DNS naming conventions. For instance,
don't use an underscore in the name - otherwise cookies
will not be excepted by Internet Explorer.

>-----Original Message-----
>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
>>
>>
>
>
>.
>



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: Help with dtsrun and dts package.
    ... you had to specify the Server and Username. ... Dtsrun now runs but I am getting errors. ... What I have done is create an SQL database, ... I used SQL Server Enterprise Managers' Export Wizard with destination ...
    (microsoft.public.sqlserver.odbc)
  • RE: How can I have a user select a local MS SQL database using vb.net?
    ... We always have the system configuration looking at a file, ... whatever you tell it to look at, then when you install this package you get ... > I have sucessfully created a sql database and vb.net program locally connecting to my local server. ...
    (microsoft.public.sqlserver.programming)
  • Blackberry Small Business Server
    ... client didn't have another one laying around so I took the ... to install outlook and then uninstall it. ... start correctly when the server has been restarted so it ... and the SQL database was installed as complex which ...
    (microsoft.public.windows.server.sbs)
  • Re: Linking to tables from another SQL database
    ... Real-world stuff I run across with SQL Server: ... I have an adp, lets say it linked to SQL database called SQL_A. ...
    (microsoft.public.access.adp.sqlserver)