ch chandrakala

ch chandrakala

  • NA
  • 138
  • 6.8k

.AsmX page error

Aug 30 2019 8:18 AM
While running time i am getting error:
 
System.ServiceModel.EndpointNotFoundException
HResult=0x80131501
Message=There was no endpoint listening at http://localhost:59501/CalculatorWebService.asmx that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Source=mscorlib
StackTrace:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at CalculatorWeApplication.CalculatorService.CalculatorWebServiceSoap.Add(Int32 FirstNumber, Int32 SecondNumber)
at CalculatorWeApplication.CalculatorService.CalculatorWebServiceSoapClient.Add(Int32 FirstNumber, Int32 SecondNumber) in C:\Users\cchan\source\repos\WebServicesDemo\CalculatorWeApplication\Connected Services\CalculatorService\Reference.cs:line 53
at CalculatorWeApplication.WebForm1.Button1_Click(Object sender, EventArgs e) in C:\Users\cchan\source\repos\WebServicesDemo\CalculatorWeApplication\WebForm1.aspx.cs:line 21
Inner Exception 1:
WebException: Unable to connect to the remote server
Inner Exception 2:
SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:59501

Answers (2)