找回密码
 立即注册

QQ登录

只需一步,快速开始

wengMQ 悬赏达人认证

银牌会员

44

主题

786

帖子

2298

积分

银牌会员

积分
2298

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

wengMQ 悬赏达人认证
银牌会员   /  发表于:2021-10-28 20:59  /   查看:3405  /  回复:1
1金币
本帖最后由 KearneyKang 于 2022-4-7 15:31 编辑

WebSamples15/WebDesignerSamples/WebDesigner_MVC at main · activereports/WebSamples15 · GitHub
错误图片:

解决方案:
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3.   For more information on how to configure your ASP.NET application, please visit
  4.   http://go.microsoft.com/fwlink/?LinkId=301880
  5.   -->
  6. <configuration>
  7.   <appSettings>
  8.     <add key="webpages:Version" value="3.0.0.0" />
  9.     <add key="webpages:Enabled" value="false" />
  10.     <add key="ClientValidationEnabled" value="true" />
  11.     <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  12.   </appSettings>
  13.   <system.web>
  14.     <compilation debug="true" targetFramework="4.6.2" />
  15.     <httpRuntime targetFramework="4.6.2" requestValidationMode="2.0" requestPathInvalidCharacters="" relaxedUrlToFileSystemMapping="true" />
  16.   </system.web>

  17.   <system.webServer>
  18.     <security>
  19.       <requestFiltering allowDoubleEscaping="true" />
  20.     </security>
  21.     <handlers>
  22.       <add name="nostaticfile" path="*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  23.     </handlers>
  24.     <httpProtocol>
  25.       <customHeaders>
  26.         <add name="Access-Control-Allow-Origin" value="http://localhost:44362" />
  27.         <add name="Access-Control-Allow-Headers" value="*" />
  28.         <add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE" />
  29.         <add name="Access-Control-Allow-Credentials" value="true" />
  30.       </customHeaders>
  31.     </httpProtocol>
  32.   </system.webServer>
  33.   <runtime>
  34.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  35.       <dependentAssembly>
  36.         <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  37.         <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
  38.       </dependentAssembly>
  39.       <dependentAssembly>
  40.         <assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  41.         <bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
  42.       </dependentAssembly>
  43.       <dependentAssembly>
  44.         <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  45.         <bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
  46.       </dependentAssembly>
  47.       <dependentAssembly>
  48.         <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  49.         <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
  50.       </dependentAssembly>
  51.       <dependentAssembly>
  52.         <assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  53.         <bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
  54.       </dependentAssembly>
  55.       <dependentAssembly>
  56.         <assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  57.         <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
  58.       </dependentAssembly>
  59.       <dependentAssembly>
  60.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
  61.         <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
  62.       </dependentAssembly>
  63.     </assemblyBinding>
  64.   </runtime>
  65. </configuration>



复制代码


附件: 您需要 登录 才可以下载或查看,没有帐号?立即注册

评分

参与人数 1金币 +2000 收起 理由
Crystal.Li + 2000 很给力!

查看全部评分

1 个回复

倒序浏览
Crystal.Li讲师达人认证 悬赏达人认证
论坛元老   /  发表于:2021-10-29 13:55:34
沙发
感谢分享,给您奖励2000金币!
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部