Base solution for your next web application
Open Closed

The remote server returned an error #6544


User avatar
0
kalidarscope created

Getting this issue after we deployed in azure and execute the functionality. It is working in local system but not in azure. Log is below:

System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at ASAP.ASAPModules.ASAPModulesAppService.Execute(ASAPModulesApplicationEditDto input) in D:\AzureSolution\ASAP_11022019\src\ASAP.Application\ASAPModules\ASAPModulesAppService.cs:line 336 at lambda_method(Closure , Object , Object[] ) at Microsoft.Extensions.Internal.ObjectMethodExecutor.<>c__DisplayClass33_0.<WrapVoidMethod>b__0(Object target, Object[] parameters) at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters) at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.VoidResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()

The line of the code where error is occured.

HttpWebRequest request = CreateWebRequest();

XmlDocument soapEnvelopeXml = new XmlDocument();
soapEnvelopeXml.LoadXml(@"<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:web='http://webcominc.com/'>

3 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    That's your own code right?

  • User Avatar
    0
    kalidarscope created

    Yes.

  • User Avatar
    0
    aaron created
    Support Team

    ?