295 Can't connect to server.
Problem: Getting error ""Can't connect to server"
When running a form with the WebServer OCX, and trying to perform an action on the form.
Date: 26 November 2001
Versions: ??
Description:
I am using the OCX across a LAN/WAN and am getting messages about "Can't connect to server" when I try to perform an action on a form. If I retry (press the submit button again), it will connect and process the request.
Possible solution by: Steve Reiss < sreissATpumatech.com >
I was getting the error message, "Can't connect to server" on a regular basis (about 15-20% of the time) from my POST action on our network.
I have cured the problem by adding in the full name of the server (hosting the Pdox OCX) in the HTML to setup the form:
sAction = SERVER_LOCATION + "/SaveResults" ; form post Action
sForm = "< FORM ACTION=\"" +sAction + "\" METHOD=\"POST\" >" + CARRIAGE_RETURN