Hi, I try to upload a file where the size is bigger than the max allowed content lenght in IIS 7 Setting. (I use ASP.NET AJAX)
<requestLimits maxAllowedContentLength="4000000"/>
When I submit a file, the progress bar appear and nothing happen. I can see in Fiddler the following message for the FIRST request:
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>404 - File or directory not found.</h2>
<h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
</fieldset></div>
</div>
</body>
</html>
After that, my page submit a request to the server every second.
In the request header I can see: UseUploadModule: CheckUploadStatus
and the received response is:
HTTP/1.1 200 OK
Server: Microsoft-IIS/7.0
X-Powered-By: UrlRewriter.NET 2.0.0
X-Powered-By: ASP.NET
Date: Fri, 11 Jul 2008 05:12:37 GMT
Content-Length: 9
JSON:null
I don't have choice to click the cancell button. I would like to notify the user about the file size.