Unable to find assembly 'Autodesk.Connectivity.WebServices,...'

Unable to find assembly 'Autodesk.Connectivity.WebServices,...'

Anonymous
Not applicable
2,781 Views
4 Replies
Message 1 of 5

Unable to find assembly 'Autodesk.Connectivity.WebServices,...'

Anonymous
Not applicable

I am getting the exception "Unable to find assembly 'Autodesk.Connectivity.WebServices, Version=18.0.0.0, Culture=neutral, PublicKeyToken=aa20f34aedd220e1' when trying to check out a file from Vault.  I am trying to download and checkout a file from an Access form by way of a custom DLL.  The DLL works fine for this when accessed from another .NET application but I get this exception when accessing from Access VBA.  The interesting thing is that the checkout is still completed but the download doesn't work.  If after completing the checkout I run the command again it will perform the download.  It has something to do with the checkout because if I just perform a download it works fine.  Any help with understanding why I get this exception would be greatly appreciated.

0 Likes
Accepted solutions (1)
2,782 Views
4 Replies
Replies (4)
Message 2 of 5

gavbath
Collaborator
Collaborator

Have you tried putting the Autodesk.Connectivity.Webservices.dll in the same location as your assembly that VBA is referencing?

Also, have you checked all the references in your project and checked that they are all pointing to the correct version of the Autodesk.Connectivity.Webservices.dll? Version 18 corresponds with Vault 2014.

Gavin Bath
MFG / CAM Technical Specialist
Design and Motion Blog
Facebook | Twitter | LinkedIn | YouTube


   

0 Likes
Message 3 of 5

Anonymous
Not applicable
Accepted solution

Thanks Gavin,

 

Unfortunately, placing the Autodesk.Connectivity.Webservices.dll in the same location as the VBA is not an option as a long term fix.  Although, I did try that and it still didn't fix the issue.  I also verified that all of the references were correct.  I did find a solution, after making my connection to Vault I created an object of type Autodesk.Connectivity.Explorer.ExtensibilityTools.IExplorerUtil.  I then used the function for this object LoadExplorerUtil which allowed me to pass in the parameters for my connection which resolved the issue.

0 Likes
Message 4 of 5

Anonymous
Not applicable

I'm having this exact same issue, and even placing all the reference in the same folder as the project doesn't seem to fix this. I ran the vault browser example and it seem to run just fine. Not sure what going on here.

0 Likes
Message 5 of 5

Anonymous
Not applicable

Found my solution, I had to change my solution platform from "any CPU" to "x64". works like a charm now.

0 Likes