Visual Studio 2013 Pro で開発しているが、当初Windows認証だったものを、匿名認証に変更した。
その後、Visual Studioを再起動すると、元のWindows認証がそのまま残っており、Visual Studio再起動するたびに、IISExpressのapplicationhost.configを書き直していた。
書き直さないと、エラーになる。
偶然、applicationhost.config の定義を間違えエラーにしたところ、Visual Studio起動時にエラーなった。applicationhost.config はプロジェクトファイルを見ているのではないかとプロジェクトファイルのソースを見たところ「IISExpresAnonymousAuthentication」「IISExpresWindowsAuthentication」というタグを見つけ、「IISExpresAnonymousAuthentication」をenableに「IISExpresWindowsAuthentication」をdisableに変更することで、applicationhost.config の定義が置き換わらなくなった。
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme