Has anyone else reeceived the following error while trying torename a file or while trying to use Pack and Go?
"The Solidworks Document Manager library is invalid. Please seeyour administrator."
Anyhelp in fixing this problem would be greatly appreciated.
This problem just showed up oneday, it was not after an upgrade orupdate.SolidworksGeneral
"The Solidworks Document Manager library is invalid. Please seeyour administrator."
Anyhelp in fixing this problem would be greatly appreciated.
This problem just showed up oneday, it was not after an upgrade orupdate.SolidworksGeneral

I tried using the forum and my VAR to straighten it out. I belivemy VAR also contacted SolidWorks.
Question:
What causes the error, "The Document Manager library is invalid?Please see your PDMWorks administrator" when trying to use Pack andGo?
Answer:
This error message, "The document manager library is invalid.Please see your PDMWorks administrator." is caused by versionmismatch of the 'SwDocumentMgr.dll ' file located in C:\ProgramFiles\CommonFiles\SolidWorks Shared. The Pack and Go functionalityrelies on this file.
To fix this issue, rename the file SwDocumentMgr.dll, and thenrepair the SolidWorks Explorer Installation.
I don't know if this will work if you are seeing it other thanusing Pack and Go, but it's worth a shot.
I had this issue as well. After digging around for a little bit, I found an easy solution.
After doing this and closing and reopening SolidWorks, the issue was solved for me.
This worked for 2014 SP2.
Was a fresh install on a clean windows 7 install. Gave me the same error and this is what fixed it, thank you.
Hi from late 2018 (I feel like I've dropped in from the future where we've conquered war and hunger etc). Anyway, I just had this problem with this error in Pack and Go in SW2019 and Josiah Lund's fix above worked perfectly. Thanks!
Had this problem from 2019 as well and Josiah's solution worked great. Make sure you include the " just as described because the first time I didn't have those and it didnt work. Thanks!
i had this problem with solidworks 2019 sp2.0. this fix worked for me
Josiah's solution worked great for 2020 SP1 as well. Thank you!
Hello Randy and all,
This just happened to me,.. I've never ever see this error before.
Does anyone know why "SwDocumentMgr.dll" .. or that dll would have been effected?
I had installed "OpenBOM" last week and just Un-installed it before this happened,.. maybe this is/was the culprit?
BTW, thanks!.. the CMD ran fine and it worked!
regsvr32 "C:\Program Files\Common Files\SolidWorks Shared\SwDocumentMgr.dll"
Document Manager library is a COM server and needs to be registered. By default applications like SOLIDWORKS, eDrawings, PDM Pro do register the Document Manager library. I presume OpenBOM registers the SwDocumentManager when installing as it needs to use it, but it also just removes when uninstalled. Ideally, it should check if the library is already registered while installation and only uninstall it if it was registered by OpenBOM installer and do not remove if it is not as this can corrupt other applications which rely on Document Manager.
Thanks, Artem. SwDocumentMgr.dll was still present,.. so, would it be possible, the uninstall may have un-registered SwDocumentMgr.dll? (because all my SW installs could not run, PacknGo or SW Explorer. (and I would assume, PDM?)
Yes, usually installers carry their own SwDocumentMgr.dll. So once you install the product (e.g. OpenBom) most likely SwDocumentMgr.dll will be installed to Program Files/OpenBOM or something like that. You would have a lot of SwDocumentMgr.dll on your computer. The tricky part is with COM registration as this information resides in the registry. So once you install new product using SwDocMgr it can overwrite the previous registration and in general, it is OK as we assume that the dll is of the same version and unmodified (which in 99.99999%) is true.
When you uninstall it removed its local version of SwDocumentMgr.dll (which is not a problem) but also removed the information from the registry (which is a problem). So your SwDocumentMgr.dll in SW installation folder become 'dangling'.
To fix your problem you can either run the cmd manually (which I think you did) or you can just repair any of the products which rely on SwDocMgr, such as eDrawings, PDM etc. - this would retrigger the registration and fix the issue.
So I'm having the exact same problem as the OP.
Tried Josiah Lund's suggestion and get "DllRegisterServer in C:\Program Files\Common Files\SolidWorks Shared\SwDocumentMgr.dll succeeded." When I quit SW and reboot my machine I am right back where I started (same error). And, the SwDocumentMgr.dll has not been modified since 4/26/19. I have SW 2015, 2018 and 2019 SP 3.0 (currently open) installed on this machine. No prior issue. No known cause. No PDM.
Any suggestions?
Thanks,
--Ken
2020 SP3, fresh install of windows 10 pro... Solution did not work for me. it gives me another error code 0x80070005... which seems to be a windows error.
Error code 0x80070005 generally refers to the “Access Denied” error message.
Make sure you right click the CMD program and Run as administrator.
Still a persistent problem in 2022 SP.0. found no working fixes so far.
Scratch the above, used the following below, then re-installed SW File Utilities, reboot, and Pack & Go working fine. Don't forget to reset 'RemappedElevatedProxiesPolicy' value to '0' before reboot.
To address this problem, try the following steps with your IT department’s assistance if required:
Standalone installs:
1. Click 'Start', click 'Run', type "regedit" in the 'Open' box, and then click 'OK'.
2. Locate and click the following subkey in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer. Note: If this subkey does not exist, create it.
3. In the 'Edit' menu, point to 'New', and then click 'DWORD Value'.
4. For the DWORD name, type "RemappedElevatedProxiesPolicy", and then press 'Enter'.
5. Right-click 'RemappedElevatedProxiesPolicy', and then click 'Modify'.
6. In the 'Value' data box, type 1, and then click 'OK'.
7. Run a Repair of your SOLIDWORKS Installation (S-050527).
8. After the application installs successfully, reset the 'RemappedElevatedProxiesPolicy' DWORD value to "0" to re-enable the security fix for KB 3072630.
Josiah's fix worked for me, on the thirty-first of January 2023, using Solidworks 2021.