質問

IIS8を使ってASP.NET MVC3アプリをWindows 8ボックスに展開しようとしています。サイトにルーティングしようとすると、次のエラーが発生します。

HTTPエラー403.14  - 禁止

この問題について見つけることができるすべてのものは、実行すると言う:

aspnet_regiis.exe -ir
.

Windows 8ボックスでこれを実行すると、次のメッセージが表示されます。

Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

C:\Users\Justin>C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe
-ir
Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation.  All rights reserved.
Start installing ASP.NET (4.0.30319.17929) without changing existing web 
applications to use this version of ASP.Net.  This option is not supported on 
this version of the operating system.  Administrators should instead install / 
uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, 
the Server Manager management tool, or the dism.exe command line tool.  For more 
details please see http://go.microsoft.com/fwlink/?LinkID=216771.
Finished installing ASP.NET (4.0.30319.17929) without changing existing web 
applications to use this version of ASP.Net.
.

ASP.NET 4.5はすでに私のシステムにインストールされています。

Windowsの機能

マイアプリケーションはVisual Studioで正しく実行されますが、私の人生を保存するために展開することはできません。私はここからどこへ行って行くべき場所の損失で完全にいます。私はこのサイトの統合された古典的なパイプラインモードも同様に試しました。

役に立ちましたか?

解決

私は同じ問題を抱えています。これまでのところ私はこの Forum Thread の答えの1つがそれを述べた。Web Platform Installerによるインストールは問題を解決しましたが、これは私のためには機能しません。IIS ASP.NET 4.5機能は、すでにインストールされているので無効になっています。

更新: 私はついに仕事をしました。

このように質問の指示に従って、IISでWCFサービスを有効にします。 wcf iis8;* .SVCハンドラマッピングが機能しない

これはハンドラマッピングをインストールした方法

他のヒント

次のコマンドを実行します。これは、ASP.NET 4.5をIISにインストールして登録します。

dism /online /enable-feature /featurename:IIS-ASPNET45 /all
.

このリンクを試してください。 それはIIS 8でASP.NET 4.5を登録するのに役立ちます... http://support.microsoft.com/kb/2736284

私のために働いたことは次のとおりです。 - [Windowsの削除/追加]で4.5と3.5をオフにします。 - コンピュータを再起動しました - Windows機能の削除/追加の4.5と3.5をチェックしました。

そしてその時点から、それはすべて再び働きました。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top