Keep on getting login dialog box when building asp.net app with IIS

I have an app that worked fine with forms authentication.  
I moved the asp.net website into the asp.net projects folder and amended the IIS virtual directory to point to this. (originally the website was as inetpub but I wanted to make it easier for sourcesafe).

Now when I run the app I keep on getting an IIS dialog login box?  What have I done wrong?  Here is my web.config

 <location path="~/Login.aspx">
    <system.web>
      <authorization>              
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>

which has not changed

mugseyAsked:
Who is Participating?
 
Type25Connect With a Mentor Commented:
Few things...

Make sure ISUR & ASPNET has read access to your new folder
Make sure integrated authentication is NOT ticked
Make sure anonoymous access IS ticked

See if that makes any difference.
0
 
surajgupthaCommented:
Make sure the same virtual directory setting are present even in this new vritual directory you created
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.