Monday, April 6, 2009

Length Required error For Mozilla(Error Code-411)

Hi Friends..

While you Developing webapplication with XmlHttp Object
If You Get This error With Error Code 411.
You can Solve this By Spacyfying Content Length Property Of XmlHttp object.."GET","Your Url Generationg Response.aspx .ashx",true);
xmlhttp.setRequestHeader('Content-Type', 'text/html');
xmlhttp.setRequestHeader('Content-length', '1000');

This Error Occurs only in Mozilla not on Safari and I.E


No comments:

Post a Comment

Comments posted on ASP.Net Ajax Tutorials Blog are moderated and will be approved only if they are on-topic and not abusive. Please email me or my team for tech-support or blogging related questions. Avoid including website URLs in your comments - Thanks Author