This is not a question about Dynamics, but I figured there may be someone who reads it who might be able to help answer it. I have a web application that I can deploy either as separate site or as a web application under the default website. When I try to use Windows authentication and Microsoft AD users to control access, it works as expected on the web application. However, when I try the same thing on the separate site it won't work no matter what I've tried. It pops up a prompt for the user login/password, and when I cancel out I get a http error 401.2 (unauthorized) message.
I would like to use the app as a site, so I can use an alias binding for the URL. I am stumped as to why Windows authentication doesn't seem to work for the code when it's deployed as a web site but does work as a web application under the default website.
WebApp1 (web application) and WebApplication1 (site) are the same code.
Any suggestions would be greatly appreciated.
Below is the site, shown as a web application and a separate site
Authorization for the web app WebApp1
Authentication for the web app WebApp1
Authorization for the site WebApplication1
Authentication for the site WebApplication1