Vault Customization

Valued Mentor
Posts: 487
Registered: ‎11-28-2007
Message 1 of 4 (178 Views)

Vault hangs on startup

178 Views, 3 Replies
11-14-2011 07:21 AM

I am workng  on a command extension for Vault 2012 Pro. It builds OK, and I have copied it to the "Extensions" folder. But when I try to open Vault, it will hang until I kill the process and delete the folder from "Extensions".

   When I kill the process and I see the following message: "SystemArgumentException- an item with the same key has already been added".

   Why am I getting this message and why is it hanging?

     (I am not using items).

Posts: 814
Registered: ‎12-12-2006
Message 2 of 4 (174 Views)

Re: Vault hangs on startup

11-14-2011 10:36 AM in reply to: tmccar

This is the first I have heard of Vault Explorer hanging because of an Extension load issue.  Are you sure that there isn't an error dialog hidden behind another window?  Sometimes the errors "pop under" for some reason.


The ArgumentException is from the .NET libraries.  So 'item' in this context has nothing to do with Vault Item objects.  My guess is that a key is being added to a Dictionary that already has the key.


If you haven't so already, go through the Extension Deployment Checklist.  If that doesn't turn up anything, post the source code.



Doug Redmond
Software Engineer
Autodesk, Inc.

Posts: 27
Registered: ‎10-18-2006
Message 3 of 4 (170 Views)

Re: Vault hangs on startup

11-14-2011 11:41 PM in reply to: Redmond.D

I suggest to check if you don't have two extensions with same name. I saw something similar when developer made a copy of add-in folder under C:\ProgramData\Autodesk\Vault 2012\Extensions. The folder names were different but content of vcet.config file was same.

Jan Liska
Technical Consultant
Autodesk, Inc.
Valued Mentor
Posts: 487
Registered: ‎11-28-2007
Message 4 of 4 (164 Views)

Re: Vault hangs on startup

11-15-2011 05:06 AM in reply to: jan.liska

No, they are definitely 2 different vcet.configs.  I willbe away from the office for a few days and will re-check when I return from leave.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.