Windows Authentication not working in IIS Express, debugging with Visual studio 2013, Windows 8

后端 未结 4 1524
抹茶落季
抹茶落季 2020-12-29 07:05

I just upgraded my application from Visual studio 2012 to Visual studio 2013. My windows authentication is not working any more. It is giving me below error.



        
4条回答
  •  长情又很酷
    2020-12-29 07:12

    Be careful with the applicationhost.config modifications - in Visual Studio 2015 I've found that it sometimes resides in the local project directory.

    For example:

    DRIVE:\MYPROJECT\.vs\config\applicationhost.config
    

    If you're not sure which applicationhost config file is being used, you can monitor file access with ProcMon & then narrow down the results based on "Path" to see what VS is actually reading at Debug time.

    Update: This appears to be the behavior in Visual Studio 2017 as well.

提交回复
热议问题