Click here to Skip to main content
15,887,253 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Problem in adding web reference in vs 2008
when trying to add web reference service description is fetch succesfully
but add webreference button not going to enable in above that
webservice found URL give reason to this problem is.

In 2008 VS.net error is:

Operation is not valid due to the current state of the object.

In 2005 VS.net error is:
There was an error downloading

The underlying connection was closed: An unexpected error occurred on a
receive.

Unable to read data from the transport connection: An existing
connection was forcibly closed by the remote host.

An existing connection was forcibly closed by the remote host

I want solution for this problem.

The another hint that i have is
The remote server returned an unexpected response: (407) Proxy Authentication Required.
The remote server returned an error: (407) Proxy Authentication Required.

My administrator says that i have all type of services access rights
if some specific service rights are needed for it please suggest.


Thanks in advance.
Posted
Updated 17-Aug-10 23:34pm
v3
Comments
Uwe Keim 17-Aug-10 6:51am    
Reason for my vote of 2
What's your question? What's your expected answer/help you are requesting here?
Sandeep Mewara 17-Aug-10 13:19pm    
Look for event viewer and look for more specific reason.

1 solution

CSS
The underlying connection was closed: An unexpected error occurred on a
receive.
Unable to read data from the transport connection: An existing
connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host


this is a communication error,
verify that the URL you're trying to add works using your web browser,
and that you have internet access
 
Share this answer
 
Comments
brinda p 18-Aug-10 1:27am    
I have tried that URL from my web browser it will give result,
can you tell me which specific internet access rights are needed.

Thanks for reply.
Camilo Sanchez 18-Aug-10 22:22pm    
this is a very general error, try to open the wsdl file manually in your browser,
how fast is your internet?
how fast is the server you are trying to connect internet?
I know this is vague, but when we encountered this error at work, we couldn't fix it directly,
it was the customer's machine

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900