I have a problem with the uploading of files larger than 1MB.
My upload code look like this:
If Not fUpload.PostedFile Is Nothing And
fUpload.PostedFile.ContentLength > 0 Then
fn = Path.GetFileName(fUpload.PostedFile.FileName)
SaveLocation = Server.MapPath("hjplusupload") + "\" + fn
lblMessages.Text = "The file has been uploaded to: " &
Catch ex As Exception
lblMessages.Text = "Error: " + ex.Message
lblMessages.Text = "Please enter a file to upload."
And I have added the following to my web.config:
<httpRuntime executionTimeout="3600" maxRequestLength="10000" />
However when I try to upload files above 1MB the server just ...