Problem: Message

Executed as user: COMBE_HQ_1\epicor_admin. A job step received an error at line 14 in a PowerShell script. The corresponding line is '$resp = $webRequest.GetResponse()'. Correct the script and reschedule the job. The error information returned by PowerShell is: 'Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (500) Internal Server Error." '. Process Exit Code -1. The step failed.


Solution:


Multi Server Installation

Is this a multi server setup? If so, please check the web.config settings on this page, we suspect this part is missing in web.config 


<webServices>

    <protocols>

    <add name="HttpGet"/>

    <add name="HttpPost"/>

    </protocols>

</webServices>