Sorry, I normally don't even bother reading the list as there seem to be a lot
of problems of that sort. : )
I'm at a bit of a loss. Where is this code running? In a web-part, or a script?
Who's running it (permissions)? Is everything on the same server?
You may wish to try getting a handle to the latest version of the document, and
modifying that rather than the base version:
'open doc
oDocument.DataSource.Open strDocumentURL
'bind a rs to the document's version status (create a KnowledgeVersion first. .
.)
oRs = oVersion.VersionStatus(oDocument)
'rebind
oDocument.DataSource.Open oRs("DAV:href"), , adModeReadWrite
'set content-class
'save as normal
Hope that helps. I'm not sure exactly what the mechanism is for how all of this
works. I've had nothing but headaches with undefined errors, bizarre ways of
accomplishing tasks, etc. In the end, trial-and-error seems to win though.