httpWebRequest Protocol Violation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Have a code sample to do a basic httpWebRequest, post some data and get an
xml doc response. Works great in 1.1, tried with beta 2 and generates a
Protocol violation, tried adding the useunsafeheader.... = true in the
config, no help, actually created an assembly in 1.1 and used in 2.0 project
and still had a protocol violation. The stacktrace looks like its in the
WebResponse.CheckProtocol()

I am confused why this works in 1.1 and not 2.0, are their additional
configuration options for 2.0.

Thanks,

Brian
 
Brian said:
Have a code sample to do a basic httpWebRequest, post some data and
get an xml doc response. Works great in 1.1, tried with beta 2 and
generates a Protocol violation, tried adding the useunsafeheader....
= true in the config, no help, actually created an assembly in 1.1
and used in 2.0 project and still had a protocol violation. The
stacktrace looks like its in the WebResponse.CheckProtocol()

I am confused why this works in 1.1 and not 2.0, are their additional
configuration options for 2.0.

I'm confused as well -- need to see the code ;-)

Cheers,
 
Back
Top