Post back to main page(default) is not happening for Large upload files

Oct 13, 2010 at 8:08 PM
Edited Oct 13, 2010 at 9:15 PM

Hi, 

Case 1: Unsuccessful Behavior

The main issue is that after the upload is done (in other words, after the .config file is generated) the control is not re-directed back to the main page (default) page, thereby not running the File.MoveTo() operation in the default page. As designed, the .config file gets disposed. I uploaded a file of size 250 MB approx. and the upload execution time was around 45 mins.

Observations:

(1) Temporary <guid>.Config file is getting generated, implies upload operation is successful.

(2) Made sure that 'config.DebugDirectory' is set. (.body, .size files are getting generated) 

(3) Increased the application pool timeout settings & httpRuntime execution timeout settings to few hours.

(4) The inline progress bar was getting stuck after 100% and nothing was happening.

  • Enabled log4net debug messages - Saw that the status is never getting set to 'Completed' after its 'Done Parsing'. The Application kept on looping between 'Application_BeginRequest' ...... 'Application_EndRequest', of course, the log file was increasing as well.
    • Resolved this error by adding a small snippet of code. 

 

	void IUploadModule.BindProgressState(string postBackID, string controlUniqueID, IUploadProgressState progressState) {

		 ----
if ((uploadState.BytesRead == uploadState.BytesTotal) && uploadState.BytesRead > 0 && uploadState.BytesTotal > 0)

{ progressState.Status = UploadStatus.Completed;}
}
}

 

  •  
    • After that, I can see that log file stopped increasing. The status was set to 'Completed' and the Progress bar disappeared, however the control is not redirected to the default page. The submit button was still disabled even after the progress bar is gone. (I have disabled 'Submit' button when the upload happens, after the post back, the submit button gets enabled). 

 

Log File <<snippet>> 

 

[10/13/2010 1:11:13 AM]:Done parsing.
[10/13/2010 1:11:13 AM]:Calling GetUriPath
[10/13/2010 1:11:13 AM]:GetUriPath() returning /upload/NeatUpload/MultiRequestUploadHandler.ashx
[10/13/2010 1:11:13 AM]:GetUnknownRequestHeaders() called 
[10/13/2010 1:11:13 AM]:Calling GetServerName
[10/13/2010 1:11:13 AM]:GetServerName() returning abc.com
[10/13/2010 1:11:13 AM]:Calling GetLocalPort
[10/13/2010 1:11:13 AM]:GetLocalPort() returning 80
[10/13/2010 1:11:13 AM]:Calling GetProtocol
[10/13/2010 1:11:13 AM]:GetProtocol() returning http
[10/13/2010 1:11:13 AM]:Calling GetRemoteAddress
[10/13/2010 1:11:13 AM]:GetRemoteAddress() returning 68.65.90.146
[10/13/2010 1:11:13 AM]:Calling GetServerName
[10/13/2010 1:11:13 AM]:GetServerName() returning bbc.abc.com
[10/13/2010 1:11:13 AM]:Calling GetProtocol
[10/13/2010 1:11:13 AM]:GetProtocol() returning http
[10/13/2010 1:11:13 AM]:Calling GetLocalPort
[10/13/2010 1:11:13 AM]:GetLocalPort() returning 80
[10/13/2010 1:11:13 AM]:In Application_EndRequest
[10/13/2010 1:11:13 AM]:In Application_EndRequest: uploadState - Brettle.Web.NeatUpload.UploadState
[10/13/2010 1:11:13 AM]:In Application_EndRequest: CurrentMultiRequestControlID - multiFile ; UploadState - NormalInProgress
[10/13/2010 1:11:13 AM]:Calling GetPathInfo
[10/13/2010 1:11:13 AM]:GetPathInfo() returning 
[10/13/2010 1:11:13 AM]:Calling GetPathInfo
[10/13/2010 1:11:13 AM]:GetPathInfo() returning 
[10/13/2010 1:11:14 AM]:In Application_BeginRequest
[10/13/2010 1:11:14 AM]:filePath=/upload/neatupload/progress.aspx
[10/13/2010 1:11:14 AM]:System.Web.Hosting.ISAPIWorkerRequestInProcForIIS7 for /upload/NeatUpload/Progress.aspx?barID=inlineProgressBar&postBackID=041D51BEAF4E11A211E2C1B7B29B18D812869549492531&canScript=True&canCancel=True&prevStatus=NormalInProgress&refresher=client&useXml=true with AspFilterSessionId = 
[10/13/2010 1:11:14 AM]:In Application_ResolveRequestCache
[10/13/2010 1:11:14 AM]:worker=System.Web.Hosting.ISAPIWorkerRequestInProcForIIS7
[10/13/2010 1:11:14 AM]:postBackID=, qs=barID=inlineProgressBar&postBackID=041D51BEAF4E11A211E2C1B7B29B18D812869549492531&canScript=True&canCancel=True&prevStatus=NormalInProgress&refresher=client&useXml=true
[10/13/2010 1:11:14 AM]:In Application_AcquireRequestState
[10/13/2010 1:11:14 AM]:In Application_PreRequestHandlerExecute
[10/13/2010 1:11:14 AM]:Status Completed when SessionID = g4rg1qusqzbucb55oerc02ao
[10/13/2010 1:11:14 AM]:In ProgressPage, PostBackID = 041D51BEAF4E11A211E2C1B7B29B18D812869549492531
[10/13/2010 1:11:14 AM]:In ProgressPage, Status = Completed
[10/13/2010 1:11:14 AM]:In Application_ReleaseRequestState
[10/13/2010 1:11:14 AM]:In Application_EndRequest
[10/13/2010 1:11:14 AM]:In Application_EndRequest: uploadState - 
[10/13/2010 1:11:14 AM]:In Application_BeginRequest
[10/13/2010 1:11:14 AM]:filePath=/upload/neatupload/progress.aspx
[10/13/2010 1:11:14 AM]:System.Web.Hosting.ISAPIWorkerRequestInProcForIIS7 for /upload/NeatUpload/Progress.aspx?barID=inlineProgressBar&postBackID=041D51BEAF4E11A211E2C1B7B29B18D812869549492531&canScript=True&canCancel=True&prevStatus=NormalInProgress&refresher=client with AspFilterSessionId = 
[10/13/2010 1:11:14 AM]:In Application_ResolveRequestCache
[10/13/2010 1:11:14 AM]:worker=System.Web.Hosting.ISAPIWorkerRequestInProcForIIS7
[10/13/2010 1:11:14 AM]:postBackID=, qs=barID=inlineProgressBar&postBackID=041D51BEAF4E11A211E2C1B7B29B18D812869549492531&canScript=True&canCancel=True&prevStatus=NormalInProgress&refresher=client
[10/13/2010 1:11:14 AM]:In Application_AcquireRequestState
[10/13/2010 1:11:14 AM]:In Application_PreRequestHandlerExecute
[10/13/2010 1:11:14 AM]:Status Completed when SessionID = g4rg1qusqzbucb55oerc02ao
[10/13/2010 1:11:14 AM]:In ProgressPage, PostBackID = 041D51BEAF4E11A211E2C1B7B29B18D812869549492531
[10/13/2010 1:11:14 AM]:In ProgressPage, Status = Completed
[10/13/2010 1:11:14 AM]:In Application_ReleaseRequestState
[10/13/2010 1:11:14 AM]:In Application_EndRequest
[10/13/2010 1:11:14 AM]:In Application_EndRequest: uploadState - 
[10/13/2010 1:11:21 AM]:In Application_BeginRequest
[10/13/2010 1:11:21 AM]:filePath=/upload/neatupload/progress.aspx
[10/13/2010 1:11:21 AM]:System.Web.Hosting.ISAPIWorkerRequestInProcForIIS7 for /upload/NeatUpload/Progress.aspx?barID=inlineProgressBar&postBackID=041D51BEAF4E11A211E2C1B7B29B18D812869549492531&canScript=True&canCancel=True&prevStatus=Completed&refresher=client&useXml=true with AspFilterSessionId = 
[10/13/2010 1:11:21 AM]:In Application_ResolveRequestCache
[10/13/2010 1:11:21 AM]:worker=System.Web.Hosting.ISAPIWorkerRequestInProcForIIS7
[10/13/2010 1:11:21 AM]:postBackID=, qs=barID=inlineProgressBar&postBackID=041D51BEAF4E11A211E2C1B7B29B18D812869549492531&canScript=True&canCancel=True&prevStatus=Completed&refresher=client&useXml=true
[10/13/2010 1:11:21 AM]:In Application_AcquireRequestState
[10/13/2010 1:11:21 AM]:In Application_PreRequestHandlerExecute
[10/13/2010 1:11:21 AM]:Status Completed when SessionID = g4rg1qusqzbucb55oerc02ao
[10/13/2010 1:11:21 AM]:In ProgressPage, PostBackID = 041D51BEAF4E11A211E2C1B7B29B18D812869549492531
[10/13/2010 1:11:21 AM]:In ProgressPage, Status = Completed
[10/13/2010 1:11:21 AM]:In Application_ReleaseRequestState
[10/13/2010 1:11:21 AM]:In Application_EndRequest
[10/13/2010 1:11:21 AM]:In Application_EndRequest: uploadState - 
[10/13/2010 1:11:21 AM]:In Application_BeginRequest
[10/13/2010 1:11:21 AM]:filePath=/upload/neatupload/progress.aspx
[10/13/2010 1:11:21 AM]:System.Web.Hosting.ISAPIWorkerRequestInProcForIIS7 for /upload/NeatUpload/Progress.aspx?barID=inlineProgressBar&postBackID=041D51BEAF4E11A211E2C1B7B29B18D812869549492531&canScript=True&canCancel=True&prevStatus=Completed&refresher=client with AspFilterSessionId = 
[10/13/2010 1:11:21 AM]:In Application_ResolveRequestCache
[10/13/2010 1:11:21 AM]:worker=System.Web.Hosting.ISAPIWorkerRequestInProcForIIS7
[10/13/2010 1:11:21 AM]:postBackID=, qs=barID=inlineProgressBar&postBackID=041D51BEAF4E11A211E2C1B7B29B18D812869549492531&canScript=True&canCancel=True&prevStatus=Completed&refresher=client
[10/13/2010 1:11:21 AM]:In Application_AcquireRequestState
[10/13/2010 1:11:21 AM]:In Application_PreRequestHandlerExecute
[10/13/2010 1:11:21 AM]:Status Completed when SessionID = g4rg1qusqzbucb55oerc02ao
[10/13/2010 1:11:21 AM]:In ProgressPage, PostBackID = 041D51BEAF4E11A211E2C1B7B29B18D812869549492531
[10/13/2010 1:11:21 AM]:In ProgressPage, Status = Completed
[10/13/2010 1:11:21 AM]:In Application_ReleaseRequestState
[10/13/2010 1:11:21 AM]:In Application_EndRequest
[10/13/2010 1:11:21 AM]:In Application_EndRequest: uploadState - 
[10/13/2010 1:12:28 AM]:In Dispose(): TmpFile.FullName = \\abc\Temp\FILES\5aba32e4d7404373b4e2df3291903458.config
[10/13/2010 1:12:28 AM]:Calling TmpFile.Delete()

(There is somehow a lag between the EndRequest and Dispose() function )

 

CASE 2: Successful Behavior

The successful behavior happens if I upload a small file, an execution that happens less than 5 mins. 

 

[10/13/2010 12:49:45 PM]:Done parsing.
[10/13/2010 12:49:45 PM]:Calling GetUriPath
[10/13/2010 12:49:45 PM]:GetUriPath() returning /upload/NeatUpload/MultiRequestUploadHandler.ashx
[10/13/2010 12:49:45 PM]:In Application_ResolveRequestCache
[10/13/2010 12:49:45 PM]:In Application_AcquireRequestState
[10/13/2010 12:49:45 PM]:In Application_PreRequestHandlerExecute
[10/13/2010 12:49:45 PM]:controlID=multiFile
[10/13/2010 12:49:45 PM]:postBackID=788540B0D18BC0EBDE43FF119D66295F12869993851921
[10/13/2010 12:49:45 PM]:secureStorageConfigString=
[10/13/2010 12:49:45 PM]:fileSizesString=
[10/13/2010 12:49:45 PM]:In Application_EndRequest
[10/13/2010 12:49:45 PM]:In Application_EndRequest: uploadState - Brettle.Web.NeatUpload.UploadState
[10/13/2010 12:49:45 PM]:In Application_EndRequest: CurrentMultiRequestControlID - multiFile ; UploadState - NormalInProgress
[10/13/2010 12:49:45 PM]:In Application_BeginRequest
[10/13/2010 12:49:45 PM]:filePath=/upload/upload/default.aspx
[10/13/2010 12:49:45 PM]:System.Web.Hosting.IIS7WorkerRequest for /upload/upload/Default.aspx with AspFilterSessionId = 
[10/13/2010 12:49:45 PM]:origWorker=System.Web.Hosting.IIS7WorkerRequest
[10/13/2010 12:49:45 PM]:Calling GetQueryStringRawBytes
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:Calling GetUriPath
[10/13/2010 12:49:45 PM]:GetUriPath() returning /upload/upload/Default.aspx
[10/13/2010 12:49:45 PM]:In Application_ResolveRequestCache
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:worker=Brettle.Web.NeatUpload.Internal.Module.FilteringWorkerRequest
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:postBackID=, qs=
[10/13/2010 12:49:45 PM]:=3226 -> 3226
[10/13/2010 12:49:45 PM]:boundary=-----------------------------7da3502d2148c
[10/13/2010 12:49:45 PM]:worker=Brettle.Web.NeatUpload.Internal.Module.FilteringWorkerRequest
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:postBackID=, qs=
[10/13/2010 12:49:45 PM]:worker=Brettle.Web.NeatUpload.Internal.Module.FilteringWorkerRequest
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:postBackID=, qs=
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:worker=Brettle.Web.NeatUpload.Internal.Module.FilteringWorkerRequest
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:postBackID=, qs=
[10/13/2010 12:49:45 PM]:worker=Brettle.Web.NeatUpload.Internal.Module.FilteringWorkerRequest
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:postBackID=, qs=
[10/13/2010 12:49:45 PM]:worker=Brettle.Web.NeatUpload.Internal.Module.FilteringWorkerRequest
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:postBackID=, qs=
[10/13/2010 12:49:45 PM]:grandTotalBytesRead=3226
[10/13/2010 12:49:45 PM]:Found boundary
[10/13/2010 12:49:45 PM]:header=Content-Disposition: form-data; name="__EVENTTARGET"
[10/13/2010 12:49:45 PM]:header=
[10/13/2010 12:49:45 PM]:name = __EVENTTARGET
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:name = __EVENTTARGET
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:grandTotalBytesRead=3226
[10/13/2010 12:49:45 PM]:Found boundary
[10/13/2010 12:49:45 PM]:header=Content-Disposition: form-data; name="__EVENTARGUMENT"
[10/13/2010 12:49:45 PM]:header=
[10/13/2010 12:49:45 PM]:name = __EVENTARGUMENT
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:name = __EVENTARGUMENT
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:grandTotalBytesRead=3226
[10/13/2010 12:49:45 PM]:Found boundary
[10/13/2010 12:49:45 PM]:header=Content-Disposition: form-data; name="__VIEWSTATE"
[10/13/2010 12:49:45 PM]:header=
[10/13/2010 12:49:45 PM]:name = __VIEWSTATE
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:name = __VIEWSTATE
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:grandTotalBytesRead=3226
[10/13/2010 12:49:45 PM]:Found boundary
[10/13/2010 12:49:45 PM]:header=Content-Disposition: form-data; name="__EVENTVALIDATION"
[10/13/2010 12:49:45 PM]:header=
[10/13/2010 12:49:45 PM]:name = __EVENTVALIDATION
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:name = __EVENTVALIDATION
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:grandTotalBytesRead=3226
[10/13/2010 12:49:45 PM]:Found boundary
[10/13/2010 12:49:45 PM]:header=Content-Disposition: form-data; name="NeatUploadConfig_multiFile"
[10/13/2010 12:49:45 PM]:header=
[10/13/2010 12:49:45 PM]:name = NeatUploadConfig_multiFile
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:name = NeatUploadConfig_multiFile
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:grandTotalBytesRead=3226
[10/13/2010 12:49:45 PM]:Found boundary
[10/13/2010 12:49:45 PM]:header=Content-Disposition: form-data; name="NeatUploadInternalFileNames_multiFile"
[10/13/2010 12:49:45 PM]:header=
[10/13/2010 12:49:45 PM]:name = NeatUploadInternalFileNames_multiFile
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:name = NeatUploadInternalFileNames_multiFile
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:grandTotalBytesRead=3226
[10/13/2010 12:49:45 PM]:Found boundary
[10/13/2010 12:49:45 PM]:header=Content-Disposition: form-data; name="NeatUpload_788540B0D18BC0EBDE43FF119D66295F12869993851921-multiFile"
[10/13/2010 12:49:45 PM]:header=
[10/13/2010 12:49:45 PM]:name = NeatUpload_788540B0D18BC0EBDE43FF119D66295F12869993851921-multiFile
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:name = NeatUpload_788540B0D18BC0EBDE43FF119D66295F12869993851921-multiFile
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:name != null && controlID != null
[10/13/2010 12:49:45 PM]:worker=Brettle.Web.NeatUpload.Internal.Module.FilteringWorkerRequest
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:postBackID=, qs=
[10/13/2010 12:49:45 PM]:storageConfig[tempDirectory]=C:\\Vamsi
[10/13/2010 12:49:45 PM]:storageConfigStream = FL2KIwlpFk+oCoTE+KWEDxv6fG6bEPDmmSrmLQaUzTvhgrZrkqwRz3jlmqsADmcik9uz1D5nfclckw/YvHANpiH0cRP2pAQ91VtsM0gh0TbORHvyFdItr0YVgOKYQ9ZbMc7o1AJnuagOJL1Nz5JNRQGmZeHGog==
[10/13/2010 12:49:45 PM]:Calling WriteReplacementFormField(NeatUploadConfig_multiFile, FL2KIwlpFk+oCoTE+KWEDxv6fG6bEPDmmSrmLQaUzTvhgrZrkqwRz3jlmqsADmcik9uz1D5nfclckw/YvHANpiH0cRP2pAQ91VtsM0gh0TbORHvyFdItr0YVgOKYQ9ZbMc7o1AJnuagOJL1Nz5JNRQGmZeHGog==)
[10/13/2010 12:49:45 PM]:filename == null
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:MultiRequestControlID == null
[10/13/2010 12:49:45 PM]:Checking multiFile == multiFile
[10/13/2010 12:49:45 PM]:DisposeAtEndOfRequest(Brettle.Web.NeatUpload.FilesystemUploadedFile)
[10/13/2010 12:49:45 PM]:grandTotalBytesRead=3226
[10/13/2010 12:49:45 PM]:Found boundary
[10/13/2010 12:49:45 PM]:header=Content-Disposition: form-data; name="NeatUpload_788540B0D18BC0EBDE43FF119D66295F12869993851921-multiFile"; filename=""
[10/13/2010 12:49:45 PM]:header=Content-Type: application/octet-stream
[10/13/2010 12:49:45 PM]:header=
[10/13/2010 12:49:45 PM]:name = NeatUpload_788540B0D18BC0EBDE43FF119D66295F12869993851921-multiFile
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:name = NeatUpload_788540B0D18BC0EBDE43FF119D66295F12869993851921-multiFile
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:name != null && controlID != null
[10/13/2010 12:49:45 PM]:storageConfig[tempDirectory]=C:\\Vamsi
[10/13/2010 12:49:45 PM]:filename != null
[10/13/2010 12:49:45 PM]:Calling UploadContext.Current.CreateUploadedFile(multiFile...)
[10/13/2010 12:49:45 PM]:Calling GetAppPathTranslated
[10/13/2010 12:49:45 PM]:GetAppPathTranslated () returns C:\inetpub\wwwroot\upload\NeatUpload-1.3.22\dotnet\app\
[10/13/2010 12:49:45 PM]:tmpDirInfo=C:\Vamsi
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:grandTotalBytesRead=3226
[10/13/2010 12:49:45 PM]:Found boundary
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:name = 
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:name = 
[10/13/2010 12:49:45 PM]:fileName = 
[10/13/2010 12:49:45 PM]:Done parsing.
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:In Application_AcquireRequestState
[10/13/2010 12:49:45 PM]:Calling GetPathInfo
[10/13/2010 12:49:45 PM]:GetPathInfo() returning 
[10/13/2010 12:49:45 PM]:In Application_PreRequestHandlerExecute 
10/13/2010 12:49:45 PM]:Calling GetQueryStringRawBytes
[10/13/2010 12:49:45 PM]:GetUnknownRequestHeaders() called
[10/13/2010 12:49:45 PM]:Calling GetRawUrl
[10/13/2010 12:49:45 PM]:GetRawUrl() returning /upload/upload/Default.aspx
[10/13/2010 12:49:45 PM]:Calling GetRawUrl
[10/13/2010 12:49:45 PM]:GetRawUrl() returning /upload/upload/Default.aspx
[10/13/2010 12:49:45 PM]:Calling GetQueryStringRawBytes
[10/13/2010 12:49:45 PM]:In Dispose(): TmpFile.FullName = C:\Vamsi\web.zip
[10/13/2010 12:49:45 PM]:In Application_ReleaseRequestState
[10/13/2010 12:49:45 PM]:In Application_EndRequest
[10/13/2010 12:49:45 PM]:In Dispose(): TmpFile.FullName = C:\Vamsi\web.zip
[10/13/2010 12:49:45 PM]:In Dispose(): TmpFile.FullName = C:\Vamsi\e07466e013ab44c9b4a7aebb5028d8e3.config
[10/13/2010 12:49:45 PM]:Calling TmpFile.Delete()
[10/13/2010 12:49:45 PM]:In Application_EndRequest: uploadState - Brettle.Web.NeatUpload.UploadState
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:45 PM]:In Application_EndRequest: CurrentMultiRequestControlID -  ; UploadState - ProcessingInProgress
[10/13/2010 12:49:45 PM]:Calling GetQueryString
[10/13/2010 12:49:45 PM]:GetQueryString() returning 
[10/13/2010 12:49:46 PM]:In Application_BeginRequest
[10/13/2010 12:49:46 PM]:filePath=/upload/neatupload/progress.aspx
[10/13/2010 12:49:46 PM]:System.Web.Hosting.IIS7WorkerRequest for /upload/NeatUpload/Progress.aspx?barID=inlineProgressBar&lastPostBackID=788540B0D18BC0EBDE43FF119D66295F12869993851921&canScript=false&canCancel=false&postBackID=272E02FFF7A1551E51AEC8DC1B09FE76 with AspFilterSessionId = 
[10/13/2010 12:49:46 PM]:In Application_ResolveRequestCache
[10/13/2010 12:49:46 PM]:worker=System.Web.Hosting.IIS7WorkerRequest
[10/13/2010 12:49:46 PM]:postBackID=, qs=barID=inlineProgressBar&lastPostBackID=788540B0D18BC0EBDE43FF119D66295F12869993851921&canScript=false&canCancel=false&postBackID=272E02FFF7A1551E51AEC8DC1B09FE76
[10/13/2010 12:49:46 PM]:In Application_AcquireRequestState
[10/13/2010 12:49:46 PM]:In Application_PreRequestHandlerExecute
[10/13/2010 12:49:46 PM]:In BindProgressState: uploadState == null
[10/13/2010 12:49:46 PM]:Status Unknown when SessionID = usf43q55cu5yro55vlki1455
[10/13/2010 12:49:46 PM]:In Application_ReleaseRequestState
[10/13/2010 12:49:46 PM]:In Application_EndRequest
[10/13/2010 12:49:46 PM]:worker=System.Web.Hosting.IIS7WorkerRequest
[10/13/2010 12:49:46 PM]:postBackID=, qs=barID=inlineProgressBar&lastPostBackID=788540B0D18BC0EBDE43FF119D66295F12869993851921&canScript=false&canCancel=false&postBackID=272E02FFF7A1551E51AEC8DC1B09FE76
[10/13/2010 12:49:46 PM]:In Application_EndRequest: uploadState - 
[10/13/2010 12:49:46 PM]:In Application_BeginRequest
[10/13/2010 12:49:46 PM]:filePath=/upload/neatupload/progress.aspx
[10/13/2010 12:49:46 PM]:System.Web.Hosting.IIS7WorkerRequest for /upload/NeatUpload/Progress.aspx?barID=inlineProgressBar&lastPostBackID=788540B0D18BC0EBDE43FF119D66295F12869993851921&postBackID=272E02FFF7A1551E51AEC8DC1B09FE760&canScript=true&canCancel=true with AspFilterSessionId = 
[10/13/2010 12:49:46 PM]:In Application_ResolveRequestCache 
[10/13/2010 12:49:46 PM]:worker=System.Web.Hosting.IIS7WorkerRequest
[10/13/2010 12:49:46 PM]:postBackID=, qs=barID=inlineProgressBar&lastPostBackID=788540B0D18BC0EBDE43FF119D66295F12869993851921&postBackID=272E02FFF7A1551E51AEC8DC1B09FE760&canScript=true&canCancel=true
[10/13/2010 12:49:46 PM]:In Application_AcquireRequestState
[10/13/2010 12:49:46 PM]:In Application_PreRequestHandlerExecute
[10/13/2010 12:49:46 PM]:In BindProgressState: uploadState == null
[10/13/2010 12:49:46 PM]:Status Unknown when SessionID = usf43q55cu5yro55vlki1455
[10/13/2010 12:49:46 PM]:In Application_ReleaseRequestState
[10/13/2010 12:49:46 PM]:In Application_EndRequest 
[10/13/2010 12:49:46 PM]:worker=System.Web.Hosting.IIS7WorkerRequest
[10/13/2010 12:49:46 PM]:postBackID=, qs=barID=inlineProgressBar&lastPostBackID=788540B0D18BC0EBDE43FF119D66295F12869993851921&postBackID=272E02FFF7A1551E51AEC8DC1B09FE760&canScript=true&canCancel=true

I need some assistance in fixing this issue. Really want to know the root cause for not redirecting to main page. Let me know if you need any other information ... 
Thanks
Vamsi
Oct 19, 2010 at 10:57 PM
Edited Oct 19, 2010 at 11:03 PM

On the other hand, I also enabled JScript Debugging messgages (NeatUpload.js , SWFUpload.js). Fortunately, an error was shown in the log messages. At the end of upload operation, I got 

"SWF DEBUG: onIOError: File ID: SWFUpload_0_0. IO Error."
I referred this site http://swfupload.org/forum/generaldiscussion/725 and verified that my configuration settings for execution timeout and overriding mode for requestFiltering were all set correctly. 

 

Since I was using Forms authentication based application; On further analysis, I found that in the Windows application 'Event Viewer', I got this below error :-

Event code: 4005 Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired. 

Resolution: Increase the Forms Authentication Ticket time. 

tkt = new FormsAuthenticationTicket(1, txtUserName.Value, DateTime.Now,
                        DateTime.Now.AddMinutes(750), chkPersistCookie.Checked, "your custom data");

For understanding purpose, I referred this article --> http://support.microsoft.com/kb/910443