aspx Windows Authentication problem

R

Rich Miller

I have a strange situation IIS.
Take a sample web site which contains only Index.htm.
If I choose anonymous access and go to the site, the page loads fine.

If instead of Index.htm I use Index.aspx, I get promped for windows
authentication even though I've chosen anonymous access in IIS. I've reset
the permissions a bunch of times, but keep getting the win auth popup.

Any ideas?
 
R

Rich Miller

nope. But thanks.

Scott Allen said:
HI Rich:

Perhaps there is a web.config file in the directory setting the
authentication mode to forms authentication.
 
S

Scott Allen

HI Rich:

Perhaps there is a web.config file in the directory setting the
authentication mode to forms authentication.
 
M

Matt Berther

Hello Scott,

Actually, the default setting for web.config when laid down by VS.NET is:

<authentication mode="Windows"/>

What I think you're probably looking to do is:

<authentication mode="None"/>

and

<authorization>
<allow users="*" /> <!-- This allows all users -->
</authorization>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,152
Latest member
LorettaGur
Top