VS2012からリモートコンピュータにWebアプリケーションを公開しようとしています。 私はファイルを公開しますが、私は、ウェブサイトを開こうとすると、私はこのエラーを取得: * IIS7:リモートコンピュータで属性 'targetFramework'が認識されません。注>属性名では大文字と小文字が区別される
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Source Error:
Line 41:
Line 42: <compilation targetFramework="4.0" />
Line 43: <httpRuntime targetFramework="4.0" />
Line 44: <authentication mode="Forms">
Line 45: <forms loginUrl="~/" timeout="2880" />
(ライン43は赤である)
(IIS6、私も思う) * ASP.NET 4.0がインストールされている * "aspnet_regiis -ir">が正常にインストールされている * IIS7>アプリケーションプール> ASP.NET 4.0> ".NET Framework v4.0.30319" * IIS7>私のWebアプリケーション> "ASP.NET 4.0"(統合)が選択されています。 重要なのかどうか分かりませんが、サーバーのウィンドウはWidows Server 2008 RT Enterprise 64ビットで、コンピューターはWindows 7 32ビットです。
助けた何も...
4.0を選択してもよろしいですか? WebサイトがASP.NET 2.0を使用するようにセットアップされているときにエラーが発生しました... –
アプリケーションの選択したアプリケーションプールのスクリーンショットを投稿できますか?実際にエラーが発生しているということは、ASP.NET 2.0がアプリケーションを実行しようとしていることを意味します。 [この正式の投稿]を参照してください。(0120-17753) – sq33G
質問を編集し、2つのスクリーンショットを追加しました。 – TamarG