Groups > Asp .Net > ASP.NET XML Web Services > Re: Add web reference problem




Add web reference problem

Add web reference problem
Wed, 26 Mar 2008 14:08:17 +000
Hi,

When i try to Add Web reference 
'http://www.webservicex.net/CurrencyConvertor.asmx'

Error Message as following :
There was an error downloading
'http://www.webservicex.net/CurrencyConvertor.asmx'.

The server committed a protocol violation. Section=ResponseHeader Detail=CR must
be followed by LF

Please Help what to do

Version :

Microsoft Visual Studio 2005
Version 8.0.50727.42  (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Regards,
Post Reply
Re: Add web reference problem
Wed, 26 Mar 2008 14:21:13 +000
See if this thread is any help
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=21106&SiteID=1&Pag
eID=0
Post Reply
Re: Add web reference problem
Wed, 26 Mar 2008 14:21:48 +000
I did a bit of googling.... 

Try adding this to your web.config on the client

 

<system.net>
	<settings>
		<httpWebRequest useUnsafeHeaderParsing="true"/>
	</settings>
</system.net>

 

But after reading the thread mentioned above, I'm not so sure this is your best
option (or that it goes into the web.config either)
Post Reply
Re: Add web reference problem
Thu, 27 Mar 2008 12:11:01 +000
Thanks for reply. 

I added the above code on the web.config, But problem still exits
Post Reply
Re: Add web reference problem
Tue, 1 Apr 2008 10:31:02 +0000
Hi Debdulal,

I have replied your problem in another thread, please check it.

Also read the following issue in detail:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=21106&SiteID=1&Pag
eID=0

 

Best regards,
Guang-Ming Bian - MSFT
Post Reply
about | contact