2009-07-09 52 views
0

我收到以下錯誤,它將我的代碼部署到生產服務器中。代碼在開發中工作正常。將asp.net文件部署到iis服務器後發生配置錯誤

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 

請指點!

回答

1

服務器上沒有安裝.NET 3.5 SP1。

1

您的代碼取決於.Net 3.5運行時,但您的服務器只有.Net 2.0。

instructions here將允許您在服務器上安裝所需的組件。您至少需要ASP.NET AJAX 1.0下載,它應該以.Net 2.0運行。

相關問題