Upload Antwortgröße wurde auf 15MB festegelgt. Keine Besserung bei HTTP500 Error-Code

This commit is contained in:
ja
2022-01-03 15:13:05 +01:00
parent 65738d3b42
commit 33b44e9d2e
3 changed files with 13 additions and 7 deletions

View File

@@ -59,7 +59,7 @@
<div class="row"> <div class="row">
<div class="col-10"></div> <div class="col-10"></div>
<div class="col-2"> <div class="col-2">
<asp:Button runat="server" Text="Alle" ClientIDMode="Predictable" ID="btn_alle" OnClick="btn_alle_Click" style="margin-left:-36px;width:56px"/></div> <asp:Button runat="server" Text="Alle" ClientIDMode="Predictable" ID="btn_alle" OnClick="btn_alle_Click" style="margin-left:-30px;width:56px"/></div>
</div> </div>
<div style="height:5px"></div> <div style="height:5px"></div>
<div class="row"> <div class="row">
@@ -394,7 +394,7 @@
dataType: "json", dataType: "json",
data: '{"' + id.split(',')[0] + '"}', data: '{"' + id.split(',')[0] + '"}',
success: function (result) { success: function (result) {
OnSuccess(result.d); OnSuccess(result.data);
}, },
error: function (jqXHR, textStatus, errorThrown) { error: function (jqXHR, textStatus, errorThrown) {
alert("Status:" + jqXHR.status + "\nStatusText: " + textStatus + "\nError:" + errorThrown); alert("Status:" + jqXHR.status + "\nStatusText: " + textStatus + "\nError:" + errorThrown);

View File

@@ -399,7 +399,7 @@ Partial Class LKWS
End Sub End Sub
<WebMethod> <WebMethod>
<ScriptMethod(ResponseFormat:=ResponseFormat.Json, UseHttpGet:=False, XmlSerializeString:=False)> <ScriptMethod(ResponseFormat:=ResponseFormat.Json)>
Public Shared Sub filltable2(Kennzeichen As String) Public Shared Sub filltable2(Kennzeichen As String)
Dim tbl As Table = New Table Dim tbl As Table = New Table
Dim list2 As List(Of VERAG_PROG_ALLGEMEIN.cSDL) = VERAG_PROG_ALLGEMEIN.cSDL.GET_LIST_WEB_LKW(401940, Kennzeichen) Dim list2 As List(Of VERAG_PROG_ALLGEMEIN.cSDL) = VERAG_PROG_ALLGEMEIN.cSDL.GET_LIST_WEB_LKW(401940, Kennzeichen)
@@ -423,8 +423,9 @@ Partial Class LKWS
Next Next
End Sub End Sub
<WebMethod> <WebMethod>
<ScriptMethod(ResponseFormat:=ResponseFormat.Json, UseHttpGet:=False, XmlSerializeString:=False)> <ScriptMethod(ResponseFormat:=ResponseFormat.Json)>
Public Shared Sub filltable_M(Kennzeichen As String) Public Shared Sub filltable_M(Kennzeichen As String)
Dim list2 As List(Of VERAG_PROG_ALLGEMEIN.cSDL) = VERAG_PROG_ALLGEMEIN.cSDL.GET_LIST_WEB_LKW(401940, Kennzeichen) Dim list2 As List(Of VERAG_PROG_ALLGEMEIN.cSDL) = VERAG_PROG_ALLGEMEIN.cSDL.GET_LIST_WEB_LKW(401940, Kennzeichen)
Dim Tbl As New Table Dim Tbl As New Table
For Each l2 In list2 For Each l2 In list2

View File

@@ -37,7 +37,7 @@
<forms defaultUrl="/Customers/Welcome.aspx" loginUrl="login/Login_FLEX.aspx" slidingExpiration="true" timeout="2880" /> <forms defaultUrl="/Customers/Welcome.aspx" loginUrl="login/Login_FLEX.aspx" slidingExpiration="true" timeout="2880" />
</authentication> </authentication>
<sessionState mode="InProc" timeout="2880" cookieless="false" regenerateExpiredSessionId="false" compressionEnabled="false" useHostingIdentity="true" /> <sessionState mode="InProc" timeout="2880" cookieless="false" regenerateExpiredSessionId="false" compressionEnabled="false" useHostingIdentity="true" />
<httpRuntime requestValidationMode="2.0" targetFramework="4.7" /> <httpRuntime requestValidationMode="2.0" targetFramework="4.7" maxRequestLength="153600" executionTimeout="900"/>
<pages validateRequest="false" controlRenderingCompatibilityVersion="4.0" /> <pages validateRequest="false" controlRenderingCompatibilityVersion="4.0" />
<!--<securityPolicy> <!--<securityPolicy>
<trustLevel name="Full" policyFile="internal"/> <trustLevel name="Full" policyFile="internal"/>
@@ -115,6 +115,11 @@
</rule> </rule>
</rules> </rules>
</rewrite> </rewrite>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="157286400"/>
</requestFiltering>
</security>
</system.webServer> </system.webServer>
<runtime> <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">