【问题标题】:Configuration error after deploying asp.net files into iis server将asp.net文件部署到iis服务器后配置错误
【发布时间】:2009-07-09 03:32:45
【问题描述】:

在生产服务器中部署我的代码时出现以下错误。代码在开发中运行良好。

    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 

请指教!

【问题讨论】:

    标签: asp.net visual-studio-2008 iis deployment


    【解决方案1】:

    服务器上没有安装 .NET 3.5 SP1。

    【讨论】:

      【解决方案2】:

      您的代码取决于 .Net 3.5 运行时,但您的服务器只有 .Net 2.0。

      instructions here 可让您在服务器上安装所需的组件。您至少需要 ASP.NET AJAX 1.0 下载,它应该与 .Net 2.0 一起运行。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-01-09
        • 2016-08-11
        相关资源
        最近更新 更多