[FogBugz #78] Gros Ticket (MB) #140
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Assigned To: CLOSED
Project: CAISSE
Area: awcaisse
Category: Bogue
Priority: A fixer impérativement
Event ID: 609
Date: 2013-07-11T08:31:48Z
Person: Frederik Benoist
Description: Fermé par Frederik Benoist
Event ID: 608
Date: 2013-07-11T08:31:48Z
Person: Frederik Benoist
Description: Resolved (Fixed) and assigned to Frederik Benoist by Frederik Benoist
Event ID: 607
Date: 2013-07-11T08:31:31Z
Person: Frederik Benoist
Description: Réouvert (attribué à Frederik Benoist) par Frederik Benoist
Suite ticket de 10Mo (catimini roubaix) et meme 16 Mo !!
Il a fallut modifier machine.config
Event ID: 542
Date: 2013-05-27T07:39:15Z
Person: Frederik Benoist
Description: Fermé par Frederik Benoist
Event ID: 541
Date: 2013-05-27T07:39:15Z
Person: Frederik Benoist
Description: Resolved (Fixed) and assigned to Frederik Benoist by Frederik Benoist
OK. souci de stack size
Event ID: 524
Date: 2013-04-17T08:41:11Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
Event ID: 523
Date: 2013-04-17T08:28:47Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
Tests
C:\projets\DotSoft\CaisseAuto\bManager\swTicket.vb
' fb 07/02/2013
'Imports system.net
Namespace SwTicket
Partial Public Class swTicket
Protected Overrides Function GetWebRequest(ByVal uri As Uri) As System.Net.WebRequest
Dim webRequest As System.Net.HttpWebRequest
webRequest = CType(MyBase.GetWebRequest(uri), System.Net.HttpWebRequest)
'Setting KeepAlive to false
webRequest.KeepAlive = False
webRequest.Timeout = 500000
' fb 07/02/2013 pour test Gros Ticket
'webRequest.ProtocolVersion = HttpVersion.Version10
'webRequest.ReadWriteTimeout = 500000
'webRequest.Credentials = CredentialCache.DefaultCredentials
'webRequest.ServicePoint.Expect100Continue = False
'webRequest.ServicePoint.ConnectionLimit = 1000
'webRequest.Headers.Add("Accept-Encoding", "gzip;deflate")
GetWebRequest = webRequest
End Function
End Class
End Namespace
Event ID: 522
Date: 2013-04-11T14:10:57Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
http://stackoverflow.com/questions/734404/error-using-httpwebrequest-to-upload-files-with-put
Event ID: 521
Date: 2013-04-11T13:57:42Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
http://www.telerik.com/help/aspnet-ajax/upload-uploading-large-files.html
<httpRuntime executionTimeout="9000"
maxRequestLength="250000"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100"/>
Event ID: 520
Date: 2013-04-11T12:46:08Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
C:\projets\DotSoft\CaisseAuto\bManager\swTicket.vb
' fb 07/02/2013
'Imports system.net
Namespace SwTicket
Partial Public Class swTicket
Protected Overrides Function GetWebRequest(ByVal uri As Uri) As System.Net.WebRequest
Dim webRequest As System.Net.HttpWebRequest
webRequest = CType(MyBase.GetWebRequest(uri), System.Net.HttpWebRequest)
'Setting KeepAlive to false
webRequest.KeepAlive = False
webRequest.Timeout = 500000
' fb 07/02/2013 pour test Gros Ticket
'webRequest.ProtocolVersion = HttpVersion.Version10
'webRequest.ReadWriteTimeout = 500000
'webRequest.Credentials = CredentialCache.DefaultCredentials
'webRequest.ServicePoint.Expect100Continue = False
'webRequest.ServicePoint.ConnectionLimit = 1000
'webRequest.Headers.Add("Accept-Encoding", "gzip;deflate")
GetWebRequest = webRequest
End Function
End Class
End Namespace
Event ID: 519
Date: 2013-04-11T08:32:57Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
C:\projets\DotSoft\CaisseAuto\bManager\cManager.web.vb
Public Function mEnregistrerTicketCompresse(ByVal tableau As Byte()) As Integer
System.Net.ServicePointManager.FindServicePoint(New Uri("http://" & cXmlUrl.psAdresseSiteDonneesCaisse)).ConnectionLimit = 1000
Using sw As SwTicket.swTicket = pServicesWeb.pTicket
sw.Timeout = 500000
Return (CInt(sw.mEnregistreTicketCompress(tableau)))
End Using
End Function
Event ID: 518
Date: 2013-04-11T06:32:41Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
C:\projets\DotSoft\CaisseAuto\swCaisseAuto\web.config
<!--pour integration gros tickets-->
<!--<httpRuntime maxRequestLength="19000" executionTimeout="360000"/>-->
C:\projets\DotSoft\CaisseAuto\awCaisse\app.config
<system.web>
<!--pour integration gros tickets--><httpRuntime maxRequestLength="19000" executionTimeout="36000" maxMessageLength="409600" executionTimeoutInSeconds="300"/>
</system.web>
Event ID: 394
Date: 2013-02-15T08:48:19Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
http://www.motobit.com/help/scptutl/pa31.htm
To resolve this problem, use one of the following methods:
In the Machine.config file, change the maxRequestLength attribute of the <httpRuntime> configuration section to a larger value. This change affects the whole computer.
In the Web.config file, override the value of maxRequestLength for the application. For example, the following entry in Web.config allows files that are less than or equal to 8 megabytes (MB) to be uploaded:
<httpRuntime maxRequestLength="8192" />
Event ID: 393
Date: 2013-02-15T08:32:11Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
http://www.motobit.com/help/scptutl/pa108.htm
IIS Limits Check and setup
IIS Limit Setup is a simple hta application written in VBS for Internet Explorer. You can check and set base limits for POST requests in IIS6 and IIS7 - MaxRequestEntityAllowed, AspMaxRequestEntityAllowed, UploadReadAheadSize and MaxAllowedContentLength
Event ID: 327
Date: 2013-02-07T11:27:08Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
Dans machine.config (répertoire CONFIG du framework)
A essayer :
ResponseDeadLockInterval="00:30:00"
ResponseRestartDeadLockInterval="00:30:00"
Event ID: 324
Date: 2013-02-06T17:00:34Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
http://stackoverflow.com/questions/383781/increase-file-upload-size-limit-in-iis6
Event ID: 287
Date: 2013-02-05T16:11:18Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
The maxRequestLength indicates the maximum file upload size supported by ASP.NET, the maxAllowedContentLength specifies the maximum length of content in a request supported by IIS. Hence, we need to set both maxRequestLength and maxAllowedContentLength values to upload large files.
Event ID: 286
Date: 2013-02-05T16:10:53Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
Can somebody confirm that for IIS 7.5 I need to set the maxRequestLength and the maxAllowedContentLength values, to be able to upload large files?
If I don't set the maxRequestLength value, I'm not able to upload files larger than approximately 1 Mb. Even while the default IIS 7.5 maxAllowedContentLength value is 30000000 bytes (28.6 Mb).
These two required settings confuse me, hopefully someone can help me out.
The settings:
<system.web>
<httpRuntime maxRequestLength="153600" executionTimeout="900" />
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="157286400" />
</requestFiltering>
</security>
</system.webServer>
Event ID: 285
Date: 2013-02-05T16:10:45Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist
http://forums.iis.net/t/1169846.aspx
Event ID: 284
Date: 2013-02-05T16:09:47Z
Person: Frederik Benoist
Description: Attribué à Frederik Benoist par Frederik Benoist
Event ID: 283
Date: 2013-02-05T16:09:46Z
Person: Frederik Benoist
Description: Ouvert par Frederik Benoist