Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Urgent: (413) Request entity too large

Reply
Thread Tools

Urgent: (413) Request entity too large

 
 
=?Utf-8?B?TWFlIExpbQ==?=
Guest
Posts: n/a
 
      07-10-2006
Dear All,

I'm using WinXP Pro with IIS 5.1, and my program in ASP.NET C#, I encounter
a problem with my program running locally.

Below is the error message: -

System.Net.WebException: The remote server returned an error: (413) Request
entity too large: start-line too large.

How to resolve this problem?
 
Reply With Quote
 
 
 
 
Joerg Jooss
Guest
Posts: n/a
 
      07-10-2006
Thus wrote Mae,

> Dear All,
>
> I'm using WinXP Pro with IIS 5.1, and my program in ASP.NET C#, I
> encounter a problem with my program running locally.
>
> Below is the error message: -
>
> System.Net.WebException: The remote server returned an error: (413)
> Request entity too large: start-line too large.
>
> How to resolve this problem?


What exactly are you doing? Can you post the code that breaks?

Cheers,
--
Joerg Jooss
news-


 
Reply With Quote
 
 
 
 
mark.brito@gmail.com
Guest
Posts: n/a
 
      07-10-2006
You may need to add something like this in web.config..but i'm unsure
if this is the issue due to the "start-line too large". What are you
doing when this error happens?

mb

<system.web>
<httpRuntime maxRequestLength="1048576" executionTimeout="3600"/>
</system.web>


Mae Lim wrote:
> Dear All,
>
> I'm using WinXP Pro with IIS 5.1, and my program in ASP.NET C#, I encounter
> a problem with my program running locally.
>
> Below is the error message: -
>
> System.Net.WebException: The remote server returned an error: (413) Request
> entity too large: start-line too large.
>
> How to resolve this problem?


 
Reply With Quote
 
coolraj4u coolraj4u is offline
Junior Member
Join Date: Aug 2007
Posts: 1
 
      08-18-2007
solution:

Execute the following command on the Sever.

>cscript adsutil.vbs set w3svc/1/uploadreadaheadsize 26240000

and make sure you also have the following in the web.config...

maxRequestLength="2097151"

You can choose the size as per the size of the file you wanna upload...
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to relate a SQL based entity with an Object based entity in Entity Framework markla ASP .Net 1 10-06-2008 09:42 AM
Http error 413 Request entity too large Darie Florin ASP .Net Web Services 12 10-13-2004 01:01 PM
System.Net.WebException Request Entity Too Large (not running IIS) x1x82 ASP .Net Web Services 5 09-16-2004 07:33 PM
Http error 413->request entity too large Darie Florin ASP .Net Security 1 06-29-2004 07:49 AM
Error 413: Request Entity Too Large while send a file Fernando Donate ASP .Net Web Services 1 08-18-2003 09:44 AM



Advertisments