Strange 'bug' with Windows Authentication

From: JohnHorb (JohnHorb_at_discussions.microsoft.com)
Date: 01/25/05


Date: Tue, 25 Jan 2005 06:11:09 -0800

I have an ASP.NET application which is set to use Windows authentication -
relevant section of web.config below:-

    <authentication mode="Windows"/>
    <authorization>
        <deny users="?"/> <!--Deny anonymous users -->
        <allow roles="uksvphpcs053\aristoweb users,uksvphpcs053\aristoweb
configurators"/>
        <deny users="*"/>
    </authorization>

When I run the application from a client PC, I get the log on window, and
enter the logon details. I then get a screen with what I can only think is
random text from the application, though it is, in fact, the connection
string for an Access database the app. accesses! (It is alweays the same
string). If I close the browser and try again, it is OK. I originally thought
the problem was only occuring the first time I accessed the app. after a
rebuild, but I think it is happening either after a rebuild or after a reboot
of the client or server.

Once the problem has occured the once, I can log in and out of the
application repeatedly without the problem recurring.

Is this a known bug, and is there a work-around?



Relevant Pages

  • Re: Network Username
    ... HttpContext.Current.User.Identity.Name, or just User.Identity.Name in the context of a page. ... This assumes you're using Windows authentication in your ASP.NET app. ... user currently logged onto a client PC, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Are ASP.NET user interfaces essentially dead now?
    ... interactive interface work -- they are fundamentally not suited to get the ... (or whatever client you choose). ... based app interface, or I can spend 2 months for the same windowsforms based ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Using kerberosSecurity Throws Security Exception
    ... I am experiencing this error while trying to use a Windows XP client ... application to access a web service located on a W2k3 server. ... client app on the server, ... > Account with a Custom Principal Name using SetSPN.exe utility. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: HTML vs Swing for U.I application architecture
    ... >> the latest web technologies. ... >> Swing to web any day of the week and twice on Sunday. ... but that is not an option for a cross platform app. ... When I wanted a thick client, ...
    (comp.lang.java.programmer)
  • Re: Error 3197 but there are no memo fields
    ... That sounds more like your app doing ... My client is actually fine with the concept of patches etc, ... I've got the Error 3197 problem ("The Microsoft Jet database ...
    (comp.databases.ms-access)