Click here to Skip to main content
15,884,388 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionQuerystring in Hidden Control Pin
kavitha_blueindia21-Dec-08 14:22
kavitha_blueindia21-Dec-08 14:22 
AnswerRe: Querystring in Hidden Control Pin
N a v a n e e t h21-Dec-08 15:10
N a v a n e e t h21-Dec-08 15:10 
GeneralRe: Querystring in Hidden Control Pin
kavitha_blueindia21-Dec-08 16:51
kavitha_blueindia21-Dec-08 16:51 
AnswerRe: Querystring in Hidden Control Pin
Christian Graus21-Dec-08 16:26
protectorChristian Graus21-Dec-08 16:26 
QuestionWinword.exe is run by Network Service Pin
Ali Ghazaei21-Dec-08 13:11
Ali Ghazaei21-Dec-08 13:11 
AnswerRe: Winword.exe is run by Network Service Pin
Christian Graus21-Dec-08 16:28
protectorChristian Graus21-Dec-08 16:28 
GeneralRe: Winword.exe is run by Network Service Pin
Ali Ghazaei22-Dec-08 1:24
Ali Ghazaei22-Dec-08 1:24 
QuestionHandling maxRequestLength errors in IIS6 Pin
Radoslav Bielik21-Dec-08 10:35
Radoslav Bielik21-Dec-08 10:35 
Hi there, I'm facing a problem with limiting the file upload size in ASP.NET 2.0, or more specifically, by handling "file too large" errors.

I did the development & testing on a Vista Business / IIS 7, where I was able to handle the situation nicely using the Application_Error handler in global.asax. When the uploaded file size is larger than maxRequestLength, I just displayed a friendly error page with explanation. After deploying the application to the production server, which is running Windows 2003 R2 with IIS 6, I realized that this doesn't work. What's worse, in case the file is larger than the limit, it won't display any error message, IIS simply cuts off the connection and browsers display their own error message about the network connection being interrupted.

Is there any solution to this problem on IIS 6? All my googling points to websites suggesting the Application_Error handler, or eventually configuring a custom error page in IIS directly, but none of this will work if IIS 6 just cuts off the connection. Also, it does this right in the beginning - i.e. I try to upload a 4MB file and it cuts me off after 5 seconds, not after transferring 2MB (which is my current limit, note that the server is remote and I have 256kbit upload) so it must know about the filesize from the start.

I'd like to be able to handle this in a friendlier matter, in a simple way (i.e. handling in .NET code, or by configuring error page in IIS). I know that there are flash uploaders, etc, but those are out of question right now.

Any clues or ideas are highly appreciated!

Thanks,
Rado
AnswerRe: Handling maxRequestLength errors in IIS6 Pin
Abhijit Jana21-Dec-08 17:19
professionalAbhijit Jana21-Dec-08 17:19 
GeneralRe: Handling maxRequestLength errors in IIS6 Pin
Radoslav Bielik21-Dec-08 21:23
Radoslav Bielik21-Dec-08 21:23 
AnswerRe: Handling maxRequestLength errors in IIS6 Pin
Rajdev Ramasamy5-Jan-09 17:38
Rajdev Ramasamy5-Jan-09 17:38 
GeneralRe: Handling maxRequestLength errors in IIS6 Pin
Radoslav Bielik5-Jan-09 23:00
Radoslav Bielik5-Jan-09 23:00 
AnswerRe: Handling maxRequestLength errors in IIS6 Pin
Rajdev Ramasamy5-Jan-09 23:18
Rajdev Ramasamy5-Jan-09 23:18 
Questionhow to remove time in gridview & details view when te data is bind through code Pin
avinash8621-Dec-08 7:29
avinash8621-Dec-08 7:29 
AnswerRe: how to remove time in gridview & details view when te data is bind through code Pin
Christian Graus21-Dec-08 8:57
protectorChristian Graus21-Dec-08 8:57 
AnswerRe: how to remove time in gridview & details view when te data is bind through code Pin
Abhijit Jana21-Dec-08 17:47
professionalAbhijit Jana21-Dec-08 17:47 
QuestionSending email from asp.net page User never receive sended email Pin
Rameez Raja21-Dec-08 1:04
Rameez Raja21-Dec-08 1:04 
AnswerRe: Sending email from asp.net page User never receive sended email Pin
Abhijit Jana21-Dec-08 1:12
professionalAbhijit Jana21-Dec-08 1:12 
GeneralRe: Sending email from asp.net page User never receive sended email Pin
Rameez Raja21-Dec-08 1:33
Rameez Raja21-Dec-08 1:33 
GeneralRe: Sending email from asp.net page User never receive sended email Pin
Abhijit Jana21-Dec-08 2:00
professionalAbhijit Jana21-Dec-08 2:00 
GeneralRe: Sending email from asp.net page User never receive sended email Pin
Rameez Raja21-Dec-08 2:13
Rameez Raja21-Dec-08 2:13 
GeneralRe: Sending email from asp.net page User never receive sended email Pin
Not Active21-Dec-08 2:51
mentorNot Active21-Dec-08 2:51 
GeneralRe: Sending email from asp.net page User never receive sended email Pin
Abhijit Jana21-Dec-08 17:21
professionalAbhijit Jana21-Dec-08 17:21 
GeneralRe: Sending email from asp.net page User never receive sended email Pin
Rameez Raja21-Dec-08 18:04
Rameez Raja21-Dec-08 18:04 
AnswerRe: Sending email from asp.net page User never receive sended email Pin
Abhijit Jana21-Dec-08 19:00
professionalAbhijit Jana21-Dec-08 19:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.