日期:2014-05-18  浏览次数:20471 次

asp.net 传上服务器就出错!
现象:
asp.net2.0
网站   原先不用ajax框架的时候   在本机   服务器上均可运行
用了部分ajax的控件,   因而修改了web.cofig文件   结果本机可以运行   服务器上却无法运行~
错误显示:http://www.xxfeng.com

请问是怎么回事?  

文件代码如下:

<?xml   version= "1.0 "?>
<configuration>
    <configSections>
        <sectionGroup   name= "system.web.extensions "   type= "System.Web.Configuration.SystemWebExtensionsSectionGroup,   System.Web.Extensions,   Version=1.0.61025.0,   Culture=neutral,   PublicKeyToken=31bf3856ad364e35 ">
            <sectionGroup   name= "scripting "   type= "System.Web.Configuration.ScriptingSectionGroup,   System.Web.Extensions,   Version=1.0.61025.0,   Culture=neutral,   PublicKeyToken=31bf3856ad364e35 ">
                <section   name= "scriptResourceHandler "   type= "System.Web.Configuration.ScriptingScriptResourceHandlerSection,   System.Web.Extensions,   Version=1.0.61025.0,   Culture=neutral,   PublicKeyToken=31bf3856ad364e35 "   requirePermission= "false "   allowDefinition= "MachineToApplication "/>
                <sectionGroup   name= "webServices "   type= "System.Web.Configuration.ScriptingWebServicesSectionGroup,   System.Web.Extensions,   Version=1.0.61025.0,   Culture=neutral,   PublicKeyToken=31bf3856ad364e35 ">
                    <section   name= "jsonSerialization "   type= "System.Web.Configuration.ScriptingJsonSerializationSection,   System.Web.Extensions,   Version=1.0.61025.0,   Culture=neutral,   PublicKeyToken=31bf3856ad364e35 "   requirePermission= "false "   allowDefinition= "Everywhere "/>
                    <section   name= "profileService "   type= "System.Web.Configuration.ScriptingProfileServiceSection,   System.Web.Extensions,   Version=1.0.61025.0,   Culture=neutral,   PublicKeyToken=31bf3856ad364e35 "   requirePermission= "false "   allowDefinition= "MachineToApplication "/>
                    <section   name= "authenticationService "   type= "System.Web.Configuration.ScriptingAuthenticationServiceSection,   System.Web.Extensions,   Version=1.0.61025.0,   Culture=neutral,   PublicKeyToken=31bf3856ad364e35 "   requirePermission= "false "   allowDefinition= "MachineToApplication "/>
                </sectionGroup>
            </sectionGroup>
        </sectionGroup>
    </configSections>
    <connectionStrings>
        <add   name= "db_xxfengConnectionString "   connectionString= "Data   Source=***.***.***;Initial   Catalog=db;Persist   Security   Info=True;User   ID=***;Password=*** "   providerName= "System.Data.SqlClient "/>
    </connectionStrings>
    <system.web>