Connectivity.Explorer.ExtensibilityTools.ExplorerLoader Problem

Connectivity.Explorer.ExtensibilityTools.ExplorerLoader Problem

Anonymous
Not applicable
1,114 Views
3 Replies
Message 1 of 4

Connectivity.Explorer.ExtensibilityTools.ExplorerLoader Problem

Anonymous
Not applicable

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.

0 Likes
1,115 Views
3 Replies
Replies (3)
Message 2 of 4

Marat.Mirgaleev
Alumni
Alumni

Could you add information about the server and client versions, please?



Marat Mirgaleev
Developer Technical Services
Autodesk Developer Network
0 Likes
Message 3 of 4

Anonymous
Not applicable
We are using Vault Callaboration 2013
0 Likes
Message 4 of 4

Marat.Mirgaleev
Alumni
Alumni

1) Could you, please, make sure that the latest updates for Vault are installed.
2) Do you use the "Option Strict On" statement in your VB code? I hope it may find the problem at the compile time, not at the run time.


 



Marat Mirgaleev
Developer Technical Services
Autodesk Developer Network
0 Likes