Jose Escrich

Extensibility Thoughts

AJAX, SSL and the 413 error

If you have been developing and testing your application using an UpdatePanel or something similar without problems over http, maybe you will find some issues when you go live using http over SSL. There is a well known issue when you make a roundtrip to the server making a PUT or POST and it’s related with the size of the message. In that cases you probably will get a 413 error similar to this:

image

The workaround resides on just to increase the value of the IIS UploadReadAHeadSize metabase parameter. Basically this parameter defines the allowed size of the data that can be posted to the server.

To change the value running on IIS 7.0 execute the following command:

appcmd.exe set config  -section:system.webServer/serverRuntime /uploadReadAheadSize:"491521"  /commit:apphost

if you’re running IIS 6.0

cscript adsutil.vbs set w3svc/1/uploadreadaheadsize 65536

You can get more information here:
http://technet.microsoft.com/en-us/library/cc737382(WS.10).aspx

HTH

Technorati Tags: ,,
Posted: Aug 19 2009, 02:56 AM by jescrich | with 18 comment(s) |
Filed under:

Comments

AJAX, SSL and the 413 error - Jose Escrich said:

Pingback from  AJAX, SSL and the 413 error - Jose Escrich

# August 19, 2009 1:21 AM

AJAX, SSL and the 413 error | I love .NET! said:

Pingback from  AJAX, SSL and the 413 error | I love .NET!

# August 19, 2009 2:10 AM

AJAX, SSL and the 413 error | rapid-DEV.net said:

Pingback from  AJAX, SSL and the 413 error | rapid-DEV.net

# August 19, 2009 5:30 AM

internet estate liquidation said:

Great Post. I add this Post to my bookmarks.

# October 31, 2010 7:09 PM

raid data recovery unformat said:

You certainly have some agreeable opinions and views. Your blog provides a fresh look at the subject.

# November 6, 2010 1:16 PM

IrrerceGeld said:

I’ve been visiting your blog for a while now and I always find a gem in your new posts.  Thanks for sharing.

# November 20, 2010 5:32 PM

carxkgpy said:

Very informative post. Thanks for taking the time to share your view with us.

# December 22, 2010 5:01 PM

Vladimir23Muhin said:

Дизайн интерьеров, <a href="www.antonovich.com.ua/proekt-kottedjey.html">%D0%B4%D0%B8%D0%B7%D0%B0%D0%B9%D0%BD квартиры</a> и офиса.

# January 1, 2011 4:23 PM

order an essay said:

The piece of your writing seems to be incredible. People, which buy the written essays at buying essays service should get know about your really hot issue. With that knowledge that will be more simple to get good grades.

# January 3, 2011 10:00 AM

custom written essay said:

Now, a lot of people are sure that the purchase term paper service will be the best point to order argumentative term paper from. Furthermore, that's really perfect way to save time!

# January 3, 2011 11:20 AM

Luna said:

Thanks for the post!

# February 14, 2011 4:21 AM

buy essay said:

Amazing offer!

<a herf="www.bestessayhelp.com/.../buy-essay">buy essay</a>

# March 9, 2011 8:36 AM

Cheap oem software said:

1xPHUI Sometimes I also see something like this, but earlier I didn`t pay much attention to this!...

# September 25, 2011 12:15 PM

Buy cheap software said:

mVLzKY As I have expected, the writer blurted out..!

# September 29, 2011 7:44 AM

OEM software online said:

Z3dxgX I`m so grateful that you enlightened me and the most important thing that it happened in time. Just think, I have been using the internet for six years already but it`s the first time I`ve ever heard about it!....

# November 6, 2011 1:11 AM

buy cheap microsoft oem said:

h0E3nc I read online (computer problems) positive feedback about your resource. Didnt even believe it, and now saw myself. It turned out that I was not fooled!....

# December 28, 2011 12:41 AM

custom logo design said:

I am still getting this error, any other solution?

# February 3, 2012 7:07 AM

oem software said:

sRBkp0 Unbelievable. Class..!!

# February 7, 2012 12:44 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)