IIS Express を使用して MVC4 アプリケーションを展開しています。この Web サイトは、同じコンピューター上で完全に実行されます。しかし、Lan ではエラー 401 が表示されます。
<authentication mode="Forms">
<forms loginUrl="~/" slidingExpiration="true" timeout="20">
</forms>
</authentication>
ホームコントローラーで
[HttpPost]
[AllowAnonymous]
public ActionResult Index(LoginModel model, string returnUrl)
{
}
管理者モードでコマンド プロンプトから IIS サーバーを起動しています。IIS は、要求に対してエラーで応答します401
。
どんな手掛かり?