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

ASP.NET

 
AnswerRe: A problem with Textbox and the property .SelectedText Pin
Gregory Gadow30-Mar-10 9:28
Gregory Gadow30-Mar-10 9:28 
GeneralRe: A problem with Textbox and the property .SelectedText Pin
_ASPAle_30-Mar-10 12:02
_ASPAle_30-Mar-10 12:02 
GeneralRe: A problem with Textbox and the property .SelectedText Pin
Gregory Gadow30-Mar-10 18:22
Gregory Gadow30-Mar-10 18:22 
GeneralRe: A problem with Textbox and the property .SelectedText Pin
Venkatesh Mookkan31-Mar-10 1:36
Venkatesh Mookkan31-Mar-10 1:36 
QuestionPopulate A Label in Listview From VB Event Pin
MarkPhD30-Mar-10 7:52
MarkPhD30-Mar-10 7:52 
AnswerRe: Populate A Label in Listview From VB Event Pin
Gregory Gadow30-Mar-10 8:04
Gregory Gadow30-Mar-10 8:04 
QuestionProblem with Web Service Pin
Sider8930-Mar-10 6:20
Sider8930-Mar-10 6:20 
AnswerRe: Problem with GridView [modified] Pin
Sandeep Mewara30-Mar-10 6:59
mveSandeep Mewara30-Mar-10 6:59 
Google gave me this explaination for the error:
the problem is actually caused by the critical http header parsing/validating
of the HttpWebRequest component. According to the Http
Specification(http1.1), the HTTP header keys shoud specifically not include
any spaces in their names. However, some web servers do not fully respect
standards they're meant to. Applications running on the Dotnet framework
and making heavy use of http requests usually use the httpWebRequest class,
which encapsulates everything a web oriented developer could dream of. With
all the recently issues related to security, the "httpWebRequest" class
provides a self protection mechanism preventing it to accept HTTP answers
which not fully qualify to the specifications.

The common case is having a space in the "content-length" header key. The
server actually returns a "content length" key, which, assuming no spaces
are allowed, is considered as an attack vector (HTTP response split
attack), thus, triggering a "HTTP protocol violation error" exception.

Setting this would help:
<configuration>
  <system.net>
   <settings>
      <httpWebRequest useUnsafeHeaderParsing="true" />
   </settings>
  </system.net>
</configuration>


Detailed link by Microsoft support[^]

UPDATE: Also look at this link... this too involves above config but states some changes in Port!
http://channel9.msdn.com/forums/TechOff/257803-HttpWebRequestResponse-The-server-committed-a-protocol-violation-SectionResponseStatusLine/[^]
modified on Tuesday, March 30, 2010 1:10 PM

GeneralRe: Problem with GridView Pin
Sider8930-Mar-10 8:11
Sider8930-Mar-10 8:11 
QuestionInsert Into Listview Label Pin
MarkPhD30-Mar-10 6:13
MarkPhD30-Mar-10 6:13 
AnswerRe: Insert Into Listview Label Pin
Sandeep Mewara30-Mar-10 7:05
mveSandeep Mewara30-Mar-10 7:05 
QuestionQueyString problem in IE6 Pin
Abbas_here30-Mar-10 5:05
Abbas_here30-Mar-10 5:05 
AnswerRe: QueyString problem in IE6 Pin
Not Active30-Mar-10 5:21
mentorNot Active30-Mar-10 5:21 
AnswerRe: QueyString problem in IE6 Pin
Abbas_here30-Mar-10 5:34
Abbas_here30-Mar-10 5:34 
GeneralRe: QueyString problem in IE6 Pin
Not Active30-Mar-10 6:02
mentorNot Active30-Mar-10 6:02 
GeneralRe: QueyString problem in IE6 Pin
Rutvik Dave30-Mar-10 8:38
professionalRutvik Dave30-Mar-10 8:38 
Questionstop page reloading in asp.net Pin
vikas shukla30-Mar-10 2:30
vikas shukla30-Mar-10 2:30 
AnswerRe: stop page reloading in asp.net Pin
Not Active30-Mar-10 4:37
mentorNot Active30-Mar-10 4:37 
AnswerRe: stop page reloading in asp.net Pin
T M Gray30-Mar-10 6:19
T M Gray30-Mar-10 6:19 
GeneralRe: stop page reloading in asp.net Pin
Not Active30-Mar-10 6:44
mentorNot Active30-Mar-10 6:44 
GeneralRe: stop page reloading in asp.net Pin
T M Gray30-Mar-10 7:20
T M Gray30-Mar-10 7:20 
JokeRe: stop page reloading in asp.net Pin
Rutvik Dave30-Mar-10 8:42
professionalRutvik Dave30-Mar-10 8:42 
GeneralRe: stop page reloading in asp.net Pin
MyDevBank31-Mar-10 10:17
MyDevBank31-Mar-10 10:17 
AnswerRe: stop page reloading in asp.net Pin
Rutvik Dave30-Mar-10 8:52
professionalRutvik Dave30-Mar-10 8:52 
Questionperformance issue Pin
RajpootRohan30-Mar-10 1:53
professionalRajpootRohan30-Mar-10 1:53 

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.