FineUI 官方论坛

标题: IIS发布问题,解决可能在集成模式下部署 [打印本页]

作者: leetle    时间: 2013-12-20 11:36
标题: IIS发布问题,解决可能在集成模式下部署
本帖最后由 leetle 于 2013-12-20 16:08 编辑

注意1:
<configSections>
    <section name="FineUI" type="FineUI.ConfigSection, FineUI" requirePermission="false" />
    <section name="Log4net" type="HENANLUHENG.Log4net.Config.Log4netConfigurationSectionHandler, HENANLUHENG.Log4net" />
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  </configSections>

注意2:

<FineUI EnableBigFont="true" DebugMode="true" 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" />
  <system.web>
    <globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" culture="zh-CN" uiCulture="zh-CN" />
    <httpRuntime requestValidationMode="2.0" executionTimeout="3600" maxRequestLength="1048576" />
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

      </assemblies>
    </compilation>
    <authentication mode="Forms">
      <forms cookieless="UseCookies" name="loginname" loginUrl="~/login.aspx" defaultUrl="~/default.aspx"></forms>
    </authentication>
    <authorization>
      <allow users="*"/>
    </authorization>
    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
      <controls>
        <add assembly="FineUI" namespace="FineUI" tagPrefix="x" />
      </controls>
    </pages>
    <httpModules>
      <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI" />
    </httpModules>
    <httpHandlers>
      <add verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" validate="false" />
      <add verb="GET" path="ChartResource/*" type="HENANLUHENG.Charts.ChartHttpHandler, HENANLUHENG.Charts, Version=1.0.0.0, Culture=neutral" validate="false" />
    </httpHandlers>
    <customErrors mode="Off" />
  </system.web>
  <system.webServer>
    <modules>
      <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI" />
    </modules>
    <handlers>
      <add name="ResourceHandler" verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI"/>
      <add name="ChartHttpHandler" verb="GET" path="ChartResource/*" type="HENANLUHENG.Charts.ChartHttpHandler, HENANLUHENG.Charts"/>
    </handlers>
    <validation validateIntegratedModeConfiguration="false"/>
  </system.webServer>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v11.0" />
      </parameters>
    </defaultConnectionFactory>
  </entityFramework>

比对你们各自的配置,如果实在搞不定,请加QQ群 203323133 交流学习


作者: 凤凰涅盘ing    时间: 2013-12-20 15:24
哥,哪里是重点,用粗体字标一下嘛~




欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/) Powered by Discuz! X3.4