I updated my PWPS_DAB from version 18.104.22.168 to version 22.214.171.124, and now when running some previously working code
$fldrs = Get-PWFolders -FolderPath $PathSource -slow
I get the following error..
Get-PWFolders : Error: Unable to load DLL 'PWSearchWrapper.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at PWSearch.SearchForProjectsByTree(Int32 iParentProjectId, IntPtr& ppProjects, IntPtr&
ppComponentClassIds, IntPtr& ppComponentInstanceIds, IntPtr& ppEnvironmentIds, IntPtr& ppWorkflowIds, IntPtr&
ppParentIds, IntPtr& ppStorageIds, IntPtr& ppIsParent, String& arProjectNames, String&
arProjectDescriptions, String& arProjectCodes, Int32& iCountP)
at PWSearch.GetAllProjectsInBranch(Int32 iParentProjectId, Boolean bGetPath)
At \\jdcpwaut01\iPasDT-FolderCopy\iPasDT-FolderCopy.ps1:79 char:14
+ $fldrs = Get-PWFolders -FolderPath $PathSource -slow
+ CategoryInfo : NotSpecified: (:) [Get-PWFolders], Exception
+ FullyQualifiedErrorId : Error getting ProjectWise folders.,PWPS_DAB.GetPWFolders
any help will be greatly appreciated
kind regards Gavin Chapman
Can you try uninstalling the PWPS_DAB module and reinstalling it. Let me know if this resolves the issue.
Uninstall-Module pwps_dab -Force -AllVersions
Install-Module -Name pwps_dab -Force
Please contact me at email@example.com. I'd like to schedule a WebEx to look into this issue with you.
Have you found a resolution to the problem?
We have the same error.
We were previously on 126.96.36.199 and working fine, then after upgrading to current 188.8.131.52, we experienced the DLL issue.
We have done the forced uninstall and then re-install. No luck.