Connectivity.Explorer.ExtensibilityTools.ExplorerLoader Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have developed an Inventor addin which is compiled as a dll and run as an addin. I would like to be able to perform some vault commands as well as download and add vault parts into assemblies which designers are currently working on. I am able to make a connection to Vault, perform searches and querries, but the problem I'm having is when I'm attempting to set an IExplorerUtil object. The error occurs on this line:
Dim VaultExpl As IExplorerUtil = _
ExplorerLoader.LoadExplorerUtil(Server, VaultName, UserID, Ticket)And the specific error details I'm receiving are:
"Unable to cast object of type 'Connectivity.Explorer.ExtensibilityUtil.ExplorerUtil' to type 'Autodesk.Connectivity.Explorer.ExtensibilityTools.IExplorerUtil'."
System.InvalidCastException was unhandled
Message=Unable to cast object of type 'Connectivity.Explorer.ExtensibilityUtil.ExplorerUtil' to type 'Autodesk.Connectivity.Explorer.ExtensibilityTools.IExplorerUtil'.
Source=Autodesk.Connectivity.Explorer.ExtensibilityTools
StackTrace:
at Autodesk.Connectivity.Explorer.ExtensibilityTools.ExplorerLoader.LoadExplorerUtil(Product product, String server, String vaultName, Int64 userId, String ticket, String loadPath, String overrideLoadPath)
at Autodesk.Connectivity.Explorer.ExtensibilityTools.ExplorerLoader.LoadExplorerUtil(String server, String vaultName, Int64 userId, String ticket)...
Any help would be greatly appreciated.