Message 1 of 6
Error RevertReservedForWriteByMe in Apprenticeserver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
There is a multi-user project file. Another user has been granted permission to edit the file. I need to obtain permission to modify a file in Apprentice. Error 80004001 occurs in the code:
...
Dim invApprenticeDoc As ApprenticeServerDocument
invApprenticeDoc = oApprentServ.Open(oFilename)
If invApprenticeDoc.ReservedForWriteByMe = True Then
invApprenticeDoc.RevertReservedForWriteByMe ' there is an error here 80004001
end if
invApprenticeDoc.RevertReservedForWriteByMe ' there is an error here 80004001
end if
No error cycles are allowed! I need permission to change a file that I don't have rights to. How to do this using ApprenticeServer?