smallredville
Programmer
Hi All,
Through this post I would like to check anyone who has encountered the following error message :
+++ Start of session errors +++
Status Code: -2147482645
Api Error:
Error Message:
Status Message: Error executing an Sql statement.
+++ End of session errors +++
I encountered the above error when my java program trying to put back a document into a destination (says folder A) in the livelink system. And the above error only happened for some documents, not all documents failed to be put back into the livelink system.
The destination contains documents and folders(subfolders) only.
The following is section of my code calling ListObjects():
/***************************** START : ListObjects() :: checking whether the (same name)PDF documents exist or not in the Livelink**********************************************/
//check document exist or not - exist = just add a new version to it
/* see if the object exists first */
if ((status = doc.ListObjects(volumeID, fileto, null, "NAME = '" + objName + "'", 0, results)) != 0) {
LivelinkHandler.writeSessionErrors(GlobalVariables.session);
LogHandler.writeProcessLog("Error in MainController.putBack() :: " +
"Error in ListObjects() :: " +
"objectName : " + objName + "\n");
return false;
}//end if
Lastly, many thanks in advance, =)
smallredville
Through this post I would like to check anyone who has encountered the following error message :
+++ Start of session errors +++
Status Code: -2147482645
Api Error:
Error Message:
Status Message: Error executing an Sql statement.
+++ End of session errors +++
I encountered the above error when my java program trying to put back a document into a destination (says folder A) in the livelink system. And the above error only happened for some documents, not all documents failed to be put back into the livelink system.
The destination contains documents and folders(subfolders) only.
The following is section of my code calling ListObjects():
/***************************** START : ListObjects() :: checking whether the (same name)PDF documents exist or not in the Livelink**********************************************/
//check document exist or not - exist = just add a new version to it
/* see if the object exists first */
if ((status = doc.ListObjects(volumeID, fileto, null, "NAME = '" + objName + "'", 0, results)) != 0) {
LivelinkHandler.writeSessionErrors(GlobalVariables.session);
LogHandler.writeProcessLog("Error in MainController.putBack() :: " +
"Error in ListObjects() :: " +
"objectName : " + objName + "\n");
return false;
}//end if
Lastly, many thanks in advance, =)
smallredville