httpWebRequest Protocol Violation

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
 
J

Joerg Jooss

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top