0
ie8에서만 "업로드 완료 이벤트를 올리는 중 오류가 발생하여 새 업로드를 시작합니다." 나는 며칠 동안 해결책을 찾기 위해 인터넷을 샅샅이 조사했지만 아무 소용이 없었다. 아래는 내 web.config 파일입니다. 다른 게시물마다 System.Web 및 System.Webservice에 AjaxFileUploadHandler를 추가하고 preCondition = "integratedMode"를 추가했습니다. 이것은 지원해야하는 ie8 용으로는하지 않습니다. 사이트 동일한 보안 수준으로 iframe을 치료 즉,이 수에 그 라인을 유지ie8의 AjaxFileUpload 오류 AjaxControlToolkit
iframe.security = "restricted";
:
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
https://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<compilation targetFramework="4.5">
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<httpRuntime targetFramework="4.5" maxRequestLength="1000000" executionTimeout="360"/>
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
<httpHandlers>
<add verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/>
</httpHandlers>
</system.web>
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="50000000"/>
</webServices>
</scripting>
</system.web.extensions>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<add name="AjaxFileUploadHandler" verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit" preCondition="integratedMode"/>
</handlers>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4294967295"/>
</requestFiltering>
</security>
<httpProtocol>
<customHeaders>
<add name="Set-Cookie" value="BALANCEID=DARPDINAProduction_Internet.node1;domain=.cc.cnh.com;path=/;"/>
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>