C# 未能加载资源:net::错误\u未完成\u IE中的分块\u编码&;ASP.NET
我在Windows 8.1中使用IExplorer 11,在Windows Server 2008 R2中使用IIS和ASP.NET 4.6.1 我的ASP.NET应用程序是WebForms并使用UpdatePanels 我有以下配置:C# 未能加载资源:net::错误\u未完成\u IE中的分块\u编码&;ASP.NET,c#,asp.net,httphandler,axd,C#,Asp.net,Httphandler,Axd,我在Windows 8.1中使用IExplorer 11,在Windows Server 2008 R2中使用IIS和ASP.NET 4.6.1 我的ASP.NET应用程序是WebForms并使用UpdatePanels 我有以下配置: <httpHandlers> <remove path="*.asmx" verb="*" /> <add path="*.asmx" verb="*" type="System.Web.Script.Services.S
<httpHandlers>
<remove path="*.asmx" verb="*" />
<add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
<add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
控制台中的完整消息:
未能加载资源:net::错误\u未完成\u分块\u编码
ScriptResource.axd?d=JdegD_7PUJVmXULFjUEnn8-wksu7dmzfodgktl…:5篇文章
net::错误\u不完整\u分块\u编码
Sys.Net.XMLHttpExecutor.executeRequest@
ScriptResource.axd?d=JdegD_7PUJVmXULFjUEnn8-wksu7dmzfodgktl…:5
Sys.Net.\u WebRequestManager.executeRequest@
ScriptResource.axd?d=JdegD_7PUJVmXULFjUEnn8-wksu7dmzfodgktl…:5
Sys.Net.WebRequest.invoke@
ScriptResource.axd?d=JdegD_7PUJVmXULFjUEnn8-wksu7dmzfodgktl…:5
Sys.WebForms.PageRequestManager.\u onFormSubmit@
ScriptResource.axd?d=xK_C6ZiWnJAwbFmxycomhSoVuG7wQBL347wu7B8vRv4lZ-am5E4rxJ-GZ-gWm03a7M6T4lFWxdjOei…:5
(匿名函数)@
ScriptResource.axd?d=JdegD_7PUJVmXULFjUEnn8-wksu7dmzfodgktl…:5b
我尝试使用
scriptResourceHandler enableCompression=“false”enableCaching=“true”
我在本地没有任何防病毒软件
问题可能是使用UpdatePanels的Chrome中的内容长度。我不知道。可能是F5平衡问题,但我没有。
<remove name="ScriptResource" />
<add name="ScriptResource"
verb="GET,HEAD" path="ScriptResource.axd"
preCondition="integratedMode"
type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING
<system.web.extensions>
<scripting>
<!-- Test: Error net::ERR_INCOMPLETE_CHUNKED_ENCODING -->
<scriptResourceHandler enableCompression="false" enableCaching="true" />
</scripting>
</system.web.extensions>
<!-- DISABLED GZIP
Test: Error net::ERR_INCOMPLETE_CHUNKED_ENCODING
<urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="true"/>
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files" sendCacheHeaders="true" cacheControlHeader="max-age=31536000" dynamicCompressionDisableCpuUsage="90" staticCompressionDisableCpuUsage="90" dynamicCompressionEnableCpuUsage="0" staticCompressionEnableCpuUsage="0">
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" doStaticCompression="true" doDynamicCompression="true" dynamicCompressionLevel="10" staticCompressionLevel="10"/>
<staticTypes>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
<add mimeType="application/x-javascript" enabled="true"/>
<add mimeType="application/json" enabled="true"/>
<add mimeType="application/json; charset=utf-8" enabled="true"/>
<add mimeType="*/*" enabled="false"/>
</staticTypes>
<dynamicTypes>
<add mimeType="text/*" enabled="true"/>
<add mimeType="message/*" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/>
<add mimeType="application/x-javascript" enabled="true"/>
<add mimeType="application/json" enabled="true"/>
<add mimeType="application/json; charset=utf-8" enabled="true"/>
<add mimeType="*/*" enabled="false"/>
</dynamicTypes>
</httpCompression>
-->
...
__ASYNCPOST:true