2009-07-09 3 views
0

프로덕션 서버에 내 코드를 배포 할 때 다음과 같은 오류가 발생합니다. 코드가 개발 단계에서 잘 작동합니다.iis 서버에 asp.net 파일을 배포 한 후 구성 오류가 발생했습니다.

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을 사용하면 필요한 구성 요소를 서버에 설치할 수 있습니다. .NET 2.0에서 실행해야하는 ASP.NET AJAX 1.0 다운로드가 필요합니다.

관련 문제