The leading provider of version control solution and TWAIN SDK

Error message: The resource cannot be found

Symptom:

When you upload the image by the HTTP Post method, you may receive the following error message returned by the HTTPPostResponseString property:



Cause:

The problem may occur when the action page does not exist. To get more information about the action page, please refer to Related Articles.

Resolution:

Please make sure that the action page DOES exist at the specified directory on your web server. Please type the path of the action page directly in your IE address bar to see if you can find the file.

Or, you can alert the path of the action page to check the value. For example:   

var CurrentPathName = unescape(location.pathname); // get current PathName in plain ASCII 
var CurrentPath = CurrentPathName.substring(0, CurrentPathName.lastIndexOf("/") + 1);   
strActionPage = CurrentPath + "SaveToFile.aspx"; //the ActionPage's file path

alert (strActionPage);

Please pay more attention to the file name if you are using a case sensitive server such as Tomcat.

Reference:

ErrorString  HTTPPostResponseString  HTTPUploadThroughPost




Article Details

Last Updated
3rd o December, 2009

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Related Articles

Attachments

No attachments were found.

Visitor Comments

No visitor comments posted. Post a comment

Post a comment

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.
   Name:
   Email:
* Comment:
* Enter the code below:
 

Continue