wengMQ 发表于 2019-6-11 12:10:37

ARSp1 13.1.16889.2 WebDesigner_MVC Window Server 2016 IIS发布配置修改参考

本帖最后由 wengMQ 于 2019-6-13 17:46 编辑

<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=301880
-->
<configuration>
<appSettings>
    <add key="webpages:Version" value="3.0.0.0" />
    <add key="webpages:Enabled" value="false" />
    <add key="ClientValidationEnabled" value="true" />
    <add key="UnobtrusiveJavaScriptEnabled" value="true" />

</appSettings>
<system.web>
    <compilation debug="true" targetFramework="4.6.2" />
    <httpRuntime targetFramework="4.6.2" />
<customErrors mode="Off"/>
</system.web>
<system.webServer>
   <!--以下配置为了让IIS7+支持Put/Delete方法-->
    <httpProtocol>
      <customHeaders>
      <add name="Access-Control-Allow-Origin" value="*" />
      <add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" />
      <add name="Access-Control-Allow-Headers" value="Content-Type" />
      </customHeaders>
    </httpProtocol>
    <!--IIS7/7.5上必须加这个配置,否则访问报错-->
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="WebDAVModule" />
    </modules>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <add name="AllUris" path="*" verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode" />
    </handlers>
</system.webServer>
      <runtime>
                <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Export.Excel" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="13.0.0.0-13.1.16889.2" newVersion="13.1.16889.2"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Document" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="13.0.0.0-13.1.16889.2" newVersion="13.1.16889.2"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Export.Image" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="13.0.0.0-13.1.16889.2" newVersion="13.1.16889.2"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Export.Html" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="13.0.0.0-13.1.16889.2" newVersion="13.1.16889.2"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Export.Svg" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="13.0.0.0-13.1.16889.2" newVersion="13.1.16889.2"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Export.Pdf" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="13.0.0.0-13.1.16889.2" newVersion="13.1.16889.2"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Export.Word" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="13.0.0.0-13.1.16889.2" newVersion="13.1.16889.2"/>
                        </dependentAssembly>
                        <dependentAssembly>
                        <assemblyIdentity name="GrapeCity.ActiveReports.Export.Xml" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="13.0.0.0-13.1.16889.2" newVersion="13.1.16889.2"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="13.0.0.0-13.1.16889.2" newVersion="13.1.16889.2"/>
                        </dependentAssembly>

                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Core.Rdl" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="1.0.0.0-1.0.2014.0" newVersion="1.0.2014.0"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Core.Export.Excel.Page" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="1.0.0.0-1.0.2014.0" newVersion="1.0.2014.0"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Core.Export.Html.Page" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="1.0.0.0-1.0.2014.0" newVersion="1.0.2014.0"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Core.Rendering" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="1.0.0.0-1.0.2014.0" newVersion="1.0.2014.0"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Core.Drawing.Gdi" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="1.0.0.0-1.0.2014.0" newVersion="1.0.2014.0"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Core.DataProviders" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="1.0.0.0-1.0.2014.0" newVersion="1.0.2014.0"/>
                        </dependentAssembly>
                        <dependentAssembly>
                              <assemblyIdentity name="GrapeCity.ActiveReports.Core.Export.Text.Page" publicKeyToken="CC4967777C49A3FF" culture="neutral"/>
                              <bindingRedirect oldVersion="1.0.0.0-1.0.2014.0" newVersion="1.0.2014.0"/>
                        </dependentAssembly>
                </assemblyBinding>
      </runtime>
</configuration>


KearneyKang 发表于 2019-6-11 12:20:09

:)非常感谢你的分享,对我们很有帮助
页: [1]
查看完整版本: ARSp1 13.1.16889.2 WebDesigner_MVC Window Server 2016 IIS发布配置修改参考