Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i am adding webservices file from microsoft dynamics nav into my .net
webapplication.. whenever i provide webservice link in addressbar on
clicking on app-webreference. i get this error ....

"There was an error downloading
http://localhost:90/DynamicsNAV/WS/Trading%20Ltd./Services Unable to connect to
the remote server No connection could be made because the target machine
actively refused it 127.0.0.1:82 Metadata contains a reference that
cannot be resolved:
http://localhost:90/DynamicsNAV/WS/Trading%20Ltd./Services There was no endpoint listening
at
http://localhost:90/DynamicsNAV/WS/Trading%20Ltd./Services 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:82 If the service is defined in the
current solution, try building the solution and adding the service
reference again."
the site is in build stage and what i am doing is just attempting to
add web services to access code and page of nav via webservices..

well i guess address is right.. is this the problem with firewall or i have missed something???
can anyone help me??? thanks in advance...
Posted
Comments
Richard MacCutchan 16-Feb-14 3:52am    
Do you have a service running at those port numbers on your system?
Codes DeCodes 16-Feb-14 5:19am    
well the port number used by webservice is set to 90 on customsetting file... guess doing this should work!!!...

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