问题描述
我的服务器环境是server2008r2iis7.5,想把一个网站的iis模式从经典转为集成。下面是我的配置文件<configuration><configSections><sectionname="FineUI"type="FineUI.ConfigSection,FineUI"requirePermission="false"/><sectionGroupname="devExpress"><sectionname="settings"type="DevExpress.Web.ASPxClasses.SettingsConfigurationSection,DevExpress.Web.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=b88d1754d700e49a"requirePermission="false"/><sectionname="compression"type="DevExpress.Web.ASPxClasses.CompressionConfigurationSection,DevExpress.Web.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=b88d1754d700e49a"requirePermission="false"/><sectionname="themes"type="DevExpress.Web.ASPxClasses.ThemesConfigurationSection,DevExpress.Web.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=b88d1754d700e49a"requirePermission="false"/><sectionname="errors"type="DevExpress.Web.ASPxClasses.ErrorsConfigurationSection,DevExpress.Web.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=b88d1754d700e49a"requirePermission="false"/></sectionGroup></configSections><!--可用的配置项(这里列的都是默认值):Language="zh_CN"AjaxTimeout="60"EnableAjax="true"Theme="blue"FormMessageTarget="qtip"FormOffsetRight="20"FormLabelWidth="100"FormLabelSeparator=":"IconBasePath="~/icon"EnableAjaxLoading="true"AjaxLoadingType="default"CustomTheme=""CustomThemeBasePath="~/theme"--><FineUIEnableBigFont="true"DebugMode="true"/><appSettings><addkey="aspnet:MaxHttpCollectionKeys"value="5000"/></appSettings><connectionStrings><addname="connStr"connectionString="DataSource=.SQLEXPRESS;InitialCatalog=aaa;IntegratedSecurity=True;MultipleActiveResultSets=true"providerName="System.Data.SqlClient"/></connectionStrings><system.web><sessionStatemode="InProc"cookieless="false"timeout="90"/><!--Net3.5以上的项目,一定要为pages节点加上这两个属性:controlRenderingCompatibilityVersion="3.5"clientIDMode="AutoID"--><pages><controls><addassembly="FineUI"namespace="FineUI"tagPrefix="x"/></controls></pages><httpModules><addname="FineUIScriptModule"type="FineUI.ScriptModule,FineUI"/><addtype="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule,DevExpress.Web.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=b88d1754d700e49a"name="ASPxHttpHandlerModule"/></httpModules><httpHandlers><addverb="GET"path="res.axd"type="FineUI.ResourceHandler,FineUI"validate="false"/><addtype="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule,DevExpress.Web.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=b88d1754d700e49a"verb="GET"path="DX.ashx"validate="false"/></httpHandlers><httpRuntimemaxRequestLength="102400"/><customErrorsmode="Off"/><compilationdebug="true"strict="false"explicit="true"targetFramework="4.0"><assemblies><addassembly="DevExpress.Web.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/><addassembly="DevExpress.Data.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/><addassembly="System.Web,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B03F5F7F11D50A3A"/><addassembly="System.Windows.Forms,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B77A5C561934E089"/><addassembly="System,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B77A5C561934E089"/><addassembly="System.Design,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B03F5F7F11D50A3A"/><addassembly="System.Xml,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B77A5C561934E089"/><addassembly="System.Data,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B77A5C561934E089"/><addassembly="System.Drawing,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B03F5F7F11D50A3A"/><addassembly="DevExpress.Web.ASPxTreeList.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/><addassembly="System.Web.Extensions,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31BF3856AD364E35"/><addassembly="System.ServiceModel.Activation,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31BF3856AD364E35"/><addassembly="System.Runtime.Serialization,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B77A5C561934E089"/><addassembly="System.Web.ApplicationServices,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31BF3856AD364E35"/><addassembly="System.Configuration,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B03F5F7F11D50A3A"/><addassembly="System.ServiceModel,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B77A5C561934E089"/><addassembly="System.Web.Services,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B03F5F7F11D50A3A"/><addassembly="System.Core,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B77A5C561934E089"/><addassembly="System.Data.Linq,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B77A5C561934E089"/><addassembly="System.ServiceModel.Web,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31BF3856AD364E35"/><addassembly="System.Data.Services.Client,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B77A5C561934E089"/><addassembly="System.Data.Services.Design,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B77A5C561934E089"/><addassembly="System.Data.Entity,Version=4.0.0.0,Culture=neutral,PublicKeyToken=B77A5C561934E089"/><addassembly="DevExpress.RichEdit.v13.1.Core,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/><addassembly="DevExpress.Docs.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/><addassembly="DevExpress.XtraReports.v13.1.Web,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/><addassembly="DevExpress.XtraReports.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/><addassembly="DevExpress.Printing.v13.1.Core,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/><addassembly="DevExpress.Web.ASPxHtmlEditor.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/><addassembly="DevExpress.Web.ASPxSpellChecker.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/><addassembly="DevExpress.Office.v13.1.Core,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/><addassembly="DevExpress.SpellChecker.v13.1.Core,Version=13.1.5.0,Culture=neutral,PublicKeyToken=B88D1754D700E49A"/></assemblies></compilation><!--<authenticationmode="Forms"><formsname=".ASPXFORMSAUTH"loginUrl="~/default.aspx"timeout="120"defaultUrl="~/main.aspx"protection="All"path="/"/></authentication><authorization><denyusers="?"/></authorization>--></system.web><!--<locationpath="res.axd"><system.web><authorization><allowusers="*"/></authorization></system.web></location>--><!--IIS7IntegratedMode<system.webServer><modules><addname="FineUIScriptModule"type="FineUI.ScriptModule,FineUI"/></modules><handlers><addname="FineUIResourceHandler"verb="GET"path="res.axd"type="FineUI.ResourceHandler,FineUI"validate="false"/></handlers><httpErrorserrorMode="Detailed"/><aspscriptErrorSentToBrowser="true"/></system.webServer>--><system.webServer><validationvalidateIntegratedModeConfiguration="false"/><modules><addtype="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule,DevExpress.Web.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=b88d1754d700e49a"name="ASPxHttpHandlerModule"/></modules><handlers><addtype="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule,DevExpress.Web.v13.1,Version=13.1.5.0,Culture=neutral,PublicKeyToken=b88d1754d700e49a"verb="GET"path="DX.ashx"name="ASPxHttpHandlerModule"preCondition="integratedMode"/></handlers></system.webServer><devExpress><settingsrightToLeft="false"doctypeMode="Xhtml"/><compressionenableHtmlCompression="false"enableCallbackCompression="true"enableResourceCompression="true"enableResourceMerging="false"/><themesenableThemesAssembly="true"styleSheetTheme=""theme=""customThemeAssemblies=""/><errorscallbackErrorRedirectUrl=""/></devExpress></configuration>该怎么改啊,愁死我了,改了一个周了,还没有弄好。另外有关于这个配置文件的详细说明的麻烦各位给一个,iis7.5这个配置文件修改太痛苦了