Click here to Skip to main content
15,896,153 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCounting within a variable??? Pin
Karan_TN27-May-08 22:31
Karan_TN27-May-08 22:31 
AnswerRe: Counting within a variable??? Pin
Christian Graus27-May-08 23:57
protectorChristian Graus27-May-08 23:57 
Questioncurrent gridview page rows Pin
Pankaj Garg27-May-08 21:35
Pankaj Garg27-May-08 21:35 
AnswerRe: current gridview page rows Pin
eyeseetee27-May-08 21:50
eyeseetee27-May-08 21:50 
GeneralRe: current gridview page rows Pin
Pankaj Garg27-May-08 21:57
Pankaj Garg27-May-08 21:57 
QuestionFile Upload Problem - "The Connection was Reset" message when the user's trying to upload a bigger size file Pin
epp112327-May-08 21:25
epp112327-May-08 21:25 
AnswerRe: File Upload Problem - "The Connection was Reset" message when the user's trying to upload a bigger size file Pin
Sandeep Akhare27-May-08 21:45
Sandeep Akhare27-May-08 21:45 
AnswerRe: File Upload Problem - "The Connection was Reset" message when the user's trying to upload a bigger size file Pin
Resolver27-May-08 23:00
Resolver27-May-08 23:00 
Hi,

There exists predefined limit on the size of file you can upload, however you can change the size.
By default the maximum size is 4MB. However you can change this value at two places web.config and/or machine.config.
<httpRuntime executionTimeout="90" <br />
                  maxRequestLength="4096"<br />
                  useFullyQualifiedRedirectUrl="false"<br />
                  minFreeThreads="8"<br />
                  minLocalRequestFreeThreads="4"<br />
                  appRequestQueueLimit="100"/>

Check for the above in the web.config/machine.config, if you dont find it, add it. Increase the value for maxRequestLength from 4096(4MB) to whatever you want. Remember when you increase maxRequestLength value, you should also change the value for executionTimeOut, this value specifies the number of seconds the upload is allowed by ASP.NET before it stops/shuts down.
Also note if you change the value in machine.config, we will have to reboot the system.
Location of machine.config = \System Root\Microsoft.NET\Framework\Version Number\CONFIG directory
In case you are using ASP.NET 2.0 instead of machine.config you can try out in web.config.comments files, which is present in
root\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG
AnswerRe: File Upload Problem - "The Connection was Reset" message when the user's trying to upload a bigger size file Pin
Vasudevan Deepak Kumar28-May-08 2:34
Vasudevan Deepak Kumar28-May-08 2:34 
QuestionNot Repeated Rows Pin
Mr. Wonderful27-May-08 21:24
Mr. Wonderful27-May-08 21:24 
AnswerRe: Not Repeated Rows Pin
eyeseetee27-May-08 21:47
eyeseetee27-May-08 21:47 
AnswerRe: Not Repeated Rows Pin
Christian Graus27-May-08 23:58
protectorChristian Graus27-May-08 23:58 
QuestionAdding 4 columns in GridView with different Controls Pin
Samiullah27-May-08 21:02
Samiullah27-May-08 21:02 
AnswerRe: Adding 4 columns in GridView with different Controls Pin
eyeseetee27-May-08 21:45
eyeseetee27-May-08 21:45 
GeneralRe: Adding 4 columns in GridView with different Controls Pin
Samiullah27-May-08 21:59
Samiullah27-May-08 21:59 
GeneralRe: Adding 4 columns in GridView with different Controls Pin
eyeseetee27-May-08 22:21
eyeseetee27-May-08 22:21 
Questionhelp me inserting in database the arabic characters Pin
Mogaambo27-May-08 20:58
Mogaambo27-May-08 20:58 
AnswerRe: help me inserting in database the arabic characters Pin
Kannan.Coder27-May-08 23:28
Kannan.Coder27-May-08 23:28 
GeneralRe: help me inserting in database the arabic characters Pin
Mogaambo27-May-08 23:47
Mogaambo27-May-08 23:47 
Questioncalling webmethods from proxy of a webservice problem Pin
madhavi.kona27-May-08 20:40
madhavi.kona27-May-08 20:40 
AnswerRe: calling webmethods from proxy of a webservice problem Pin
Resolver27-May-08 21:27
Resolver27-May-08 21:27 
GeneralRe: calling webmethods from proxy of a webservice problem Pin
madhavi.kona29-May-08 3:53
madhavi.kona29-May-08 3:53 
QuestionHow to write code for Live Chat with Popup Intimation in Asp.Net2.0? Pin
S R Madhavan27-May-08 20:30
S R Madhavan27-May-08 20:30 
AnswerRe: How to write code for Live Chat with Popup Intimation in Asp.Net2.0? Pin
Sandeep Akhare27-May-08 20:34
Sandeep Akhare27-May-08 20:34 
AnswerRe: How to write code for Live Chat with Popup Intimation in Asp.Net2.0? Pin
eyeseetee27-May-08 21:43
eyeseetee27-May-08 21:43 

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.