2009-07-10 18 views
0

プロダクションサーバーに自分のコードを展開する際に次のエラーが発生します。コードは開発中にうまく機能しています。サーバーは、.NET 3.5 SP1がインストールされていないasp.netファイルをiis serverに展開した後の設定エラー

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: Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (E:\QA\form\web.config line 103) 

Source Error: 


Line 101:  </httpHandlers> 
Line 102:  <httpModules> 
Line 103:   <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
Line 104:  </httpModules> 
Line 105: </system.web> 


Source File: E:\QA\form\web.config Line: 103 


-------------------------------------------------------------------------------- 
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 

私はので、これは知っています。コードは.Net 3.5ランタイムに依存していますが、私のサーバーには.Net 2.0しかありません.Net 2.0で動作するASP.NET AJAX 1.0のダウンロードが少なくとも必要です。

しかし残念ながら私はこれらをプロダクションサーバーにインストールすることはできません。私たちはこれに対して他の修正をしていますか?

答えて

0

いいえ。アプリケーションがプロダクションサーバー上で必要とする依存関係をインストールできない場合は、(1)プロダクション環境に存在しない(つまり別の方法で)アプリケーションから依存関係を削除するか、 ;または(2)その環境に展開していない。しかし、それはあなたがフレームワークの最新バージョンをインストールすることができないことは奇妙に思えます。また、特定のフレームワークレベルに向けて開発する前に、本番環境の制限をよりよく理解して理解する必要があります。

関連する問題