MOD2000: "Multiple-Step OLE DB Operation Generated Errors" Error Message with Document Library Sample (272583)
The information in this article applies to:
- Microsoft Office 2000 Developer
This article was previously published under Q272583 SYMPTOMS
Microsoft provides a Document Library Sample template http://msdn.microsoft.com/library/techart/mod_doclib.htm for Microsoft Access Workflow Designer for SQL Server. After this solution is deployed, you choose documents to be reviewed and one or more reviewers for each document to perform the document review.
However, in a multiple reviewer situation where one reviewer attempts to move a document from the "In Process" state to the "Approved" state (on the reviewitem.htm page), you receive the following error message:
Microsoft Internet Explorer
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
RESOLUTION
To resolve this error message, follow these steps:
- In the ReviewItemsWorkflow script code (in Access Workflow Designer), locate the State2_OnExit procedure.
- Near the end of the code (before the two End If statements), you see the following lines of code:
rsReview.Fields("StatusId").Value = rstat
rsReview.Update
- Modify the code (add an If and End If around the lines of code in Item 2 above) so that the code looks as follows:
If not isempty(rstat) then
rsReview.Fields("StatusId").Value = rstat
rsReview.Update
end if
- Click Save.
- Stop and restart Microsoft SQL Server.
- When any of the reviewers attempts to move the document from "In Process" to "Approved," this error message should no longer occur.
NOTE: You have to click Refresh on the Internet Explorer toolbar to see the updated document status.
Modification Type: | Major | Last Reviewed: | 7/31/2001 |
---|
Keywords: | kbbug kberrmsg kbWorkFlowDesigner KB272583 |
---|
|