I am using VS 2012 (.NET 4.0) -- After I switched form forms to Windows Authentication. I get a LOT of problems with authentication during development. The app will be accessed the first time OK. On a screen refresh, or a second attempt in developemt,
it fails with a 401 error.
Sometimes, if I rebuild the app and try to test, it is fine; sometime not.
If I shup down VS and start it again, I'm fine -- then the process starts again.
I have tried
a) Using VS Development Server
b) IIS
c) IIS Express
I have moified both applicationhost.config (for IIS and IIS express to
<windowsAuthentication enabled="true">
All to no avail -- the problem persists. Any ideas?
I have done similar things with .NET 3.5 (VS 2010) without these problems.
Any ideas.
OS: Win 7 professional (32bit)
...
Go to the complete details ...