I'm using IIS and trying to deploy a web application that needs authentication mode="Windows".
However on every machine I try this on, simply deploying the web app doesn't work. The web.config says
<authentication mode="Windows">
but under the IIS manager it says
Windows Authentication Disabled
So I save a backup of my web.config, then I use IIS to enable windows authentication. After I do that, my application works fine but the web.config file is unchanged.
I have to automatically create a new instance of this web app for each client. Requiring an IT guy to manually go to each webapp and turn on this feature is a non-starter. I need the web.config file to work, or I need to know what config file I have to change to make it work. I've spent days trying to get this sorted without success.
Any help is much appreciated.