Get-PWFolders error

I updated my PWPS_DAB from version to version, 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 PWPS_DAB.GetPWFolders.ProcessRecord()
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

Parents Reply Children
No Data