Search Persits Software Knowledge Base

 

Article PS02060595

Error 12007 when uploading files with XUpload

Problem Description

When uploading files with XUpload, an error box comes up containing the following error message:

Sending information to the server failed with error code 12007. Uploading has been aborted.

Solution

This error usually occurs when the Server parameter is prefixed by http://:

Incorrect:
<PARAM NAME="Server" VALUE="http://myserver.com">

To fix the problem, remove the http:// prefix, as follows:

Correct:
<PARAM NAME="Server" VALUE="myserver.com">

This error may also be caused by including all or part of a Script path or port number in the Server parameter:

Incorrect:
<PARAM NAME="Server" VALUE="myserver.com/uploads">
<PARAM NAME="Script" VALUE="uploadscript.asp">

Correct:
<PARAM NAME="Server" VALUE="myserver.com">
<PARAM NAME="Script" VALUE="/uploads/uploadscript.asp">


Incorrect:
<PARAM NAME="Server" VALUE="myserver.com:8080">
<PARAM NAME="Script" VALUE="uploadscript.asp">

Correct:
<PARAM NAME="Server" VALUE="myserver.com">
<PARAM NAME="Script" VALUE="/uploads/uploadscript.asp">
<PARAM NAME="Port" VALUE="8080">

Created: 6/5/2002 12:27:15 PM
Last Modified: 9/6/2006 11:20:33 AM

Copyright © Persits Software, Inc. 1998 - 2018
For technical support, write to support@persits.com.