找回密码
 立即注册

QQ登录

只需一步,快速开始

wengMQ 悬赏达人认证

银牌会员

44

主题

781

帖子

2259

积分

银牌会员

积分
2259

悬赏达人圣诞拼拼乐微信认证勋章

wengMQ 悬赏达人认证
银牌会员   /  发表于:2019-3-7 12:13  /   查看:2953  /  回复:1
<?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" />
  </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>
                        <remove name="WebDAV" />
                        <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
                        <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
                        <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
                        <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" resourceType="Unspecified" requireAccess="Script" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
                        <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" resourceType="Unspecified" requireAccess="Script" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
                        <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" resourceType="Unspecified" requireAccess="Script" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
                </handlers>

                <!--提高GET URL长度限制上限-->
                <security>
                        <requestFiltering>
                                <requestLimits maxUrl="409600" maxQueryString="204800" />
                        </requestFiltering>
                </security>

        </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.0.15823.2" newVersion="13.0.15823.2" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Document" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="13.0.0.0-13.0.15823.2" newVersion="13.0.15823.2" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Export.Image" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="13.0.0.0-13.0.15823.2" newVersion="13.0.15823.2" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Export.Html" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="13.0.0.0-13.0.15823.2" newVersion="13.0.15823.2" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Export.Svg" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="13.0.0.0-13.0.15823.2" newVersion="13.0.15823.2" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Export.Pdf" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="13.0.0.0-13.0.15823.2" newVersion="13.0.15823.2" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Export.Word" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="13.0.0.0-13.0.15823.2" newVersion="13.0.15823.2" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Export.Xml" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="13.0.0.0-13.0.15823.2" newVersion="13.0.15823.2" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="13.0.0.0-13.0.15823.2" newVersion="13.0.15823.2" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Core.Rdl" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.0.1617.0" newVersion="1.0.1617.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Core.Export.Excel.Page" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.0.1617.0" newVersion="1.0.1617.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Core.Export.Html.Page" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.0.1617.0" newVersion="1.0.1617.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Core.Rendering" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.0.1617.0" newVersion="1.0.1617.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Core.Drawing.Gdi" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.0.1617.0" newVersion="1.0.1617.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Core.DataProviders" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.0.1617.0" newVersion="1.0.1617.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="GrapeCity.ActiveReports.Core.Export.Text.Page" publicKeyToken="CC4967777C49A3FF" culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.0.1617.0" newVersion="1.0.1617.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>
<!--ProjectGuid: D6087EB7-3F87-43C7-8ACD-2B3B772D1A6D-->

评分

参与人数 1金币 +1000 收起 理由
KearneyKang + 1000 赞一个!

查看全部评分

1 个回复

倒序浏览
KearneyKang讲师达人认证 悬赏达人认证
超级版主   /  发表于:2019-3-7 13:42:12
沙发
谢谢热心反馈
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部