找回密码
 立即注册

QQ登录

只需一步,快速开始

wengMQ 悬赏达人认证
银牌会员   /  发表于:2019-6-11 12:10  /   查看:2786  /  回复:1
本帖最后由 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>


评分

参与人数 1金币 +1000 收起 理由
KearneyKang + 1000 很给力!

查看全部评分

1 个回复

倒序浏览
KearneyKang讲师达人认证 悬赏达人认证
超级版主   /  发表于:2019-6-11 12:20:09
沙发
非常感谢你的分享,对我们很有帮助
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部