Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i run the project this error shows please help me

Error: Cannot obtain Metadata from http://localhost:50423/Service1.svc If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address. For help enabling metadata publishing, please refer to the MSDN documentation at http://go.microsoft.com/fwlink/?LinkId=65455.WS-Metadata Exchange Error URI: http://localhost:50423/Service1.svc Metadata contains a reference that cannot be resolved: 'http://localhost:50423/Service1.svc'. There was no endpoint listening at http://localhost:50423/Service1.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. Unable to connect to the remote server No connection could be made because the target machine actively refused it 127.0.0.1:50423HTTP GET Error URI: http://localhost:50423/Service1.svc There was an error downloading 'http://localhost:50423/Service1.svc'. Unable to connect to the remote server No connection could be made because the target machine actively refused it 127.0.0.1:50423
Posted
Comments
ArunRajendra 4-Sep-13 3:04am    
Post you config file.

1 solution

This may help you-
Go to Properties of the Web service project --> click on Web tab --> In Servers section --> Check Specific port and then assign the standard port number by which your main project is calling the web service.
 
Share this answer
 

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