Re: Permission problem in ASP.NET and IIS

From: Matjaz Ladava (matjaz_at__nospam_ladava.com)
Date: 06/26/03


Date: Thu, 26 Jun 2003 19:52:46 +0200


ASP.NET only handles file extensions that are registered with ASP.NET. As
you have seen, .htm and .asp are handled by IIS and thus behave differently
. aspx is registered with ASP.NET and handled in aspnet_wp.exe process,
which takes care of aspx (and other) files. Now my question is, what is your
web.config (authentication and authorization section) and what is your IIS
security - basic authentication or integrated authentication ?

-- 
Regards
Matjaz Ladava, MCSE (NT4 & 2000)
matjaz@ladava.com
http://ladava.com
"Alan" <ZZZ@ZZZ.COM> wrote in message
news:u9qiSH$ODHA.1748@TK2MSFTNGP11.phx.gbl...
> I have a ASP.NET application which uses a web service to interact with a
> database.  On the web application in IIS, I have the Anonymous login
> disabled because I need to get the users Windows login name.  When
somebody
> accesses this application, they get a login prompt.  All domain users have
> been given access to the application, so I'm thinking that it's something
on
> the permissions settings somewhere else on the server.
>
> To test, I created 3 files in the application folder...test.htm, test.asp,
> test.aspx.  All files are identical and do nothing but display the word
> "TEST" in the browser.
>
> When a user browses to test.htm, or test.asp, everything works fine and
they
> get no login prompt.  When they browse to test.aspx, they get the login
> prompt.  Is there some other dll, exe, or something else that they do not
> have access to on the server that is causing this login prompt?
>
> Thanks in advance,
> Alan
>
>


Relevant Pages

  • Re: Whats the simplest way to do URL rewriting?
    ... >because the lack of .aspx extension means that IIS doesn't pass it to ... Then IIS will find the ... >resides) is protected by Forms authentication. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Securing .htm pages with asp.net
    ... you have to route the .htm extension to the aspnet_isapi dll, just like .aspx ... you do that in IIS application settings. ... > I've tried using forms authentication, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: OWA - Integrated Windows Authentication and avoiding login prompt
    ... How will that affect the login prompt? ... authentication and just use Winows Integrated, ... > Create another HTTP virtual server using different port w/same IP or ...
    (microsoft.public.exchange.admin)
  • Inregrated security under Win 2K + XP
    ... I have some clients using WinXP and some using Win2K, ... Login Prompt appears, user has to enter valid credentials, otherwise ... Empty Login Prompt appears (looks different then the WinXP ... If I however change page security settings to Basic Authentication, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Default domain Windows integrated authentication
    ... Windows 2003 Server - IIS 6.0), and was wondering if it was possible to ... change the login prompt default domain. ... Integrated Authentication protocol does not allow default domains, ...
    (microsoft.public.inetserver.iis.security)