When I run the "Create Visual Studio Toolbox Tab" tool on Visual Studio 2008, I get an error. I can get the toolbox controls added manualy, but would still like to see the problem addressed.
The log generated by the toolbox utility is:
3:18:12 PM - Params: /v /t:9.0 8.1 3:18:12 PM - PUBLIC: Begin processing NetAdvantage version 8.13:18:12 PM - Beginning to process VS v9.03:18:12 PM - Getting Type for ProgID: VisualStudio.DTE.9.03:18:12 PM - Creating type: System.__ComObject3:18:14 PM - EXCEPTION: System.Runtime.InteropServices.COMException Source: mscorlib Message: Creating an instance of the COM component with CLSID {1A5AC6AE-7B95-478C-B422-0E994FD727D6} from the IClassFactory failed due to the following error: 80010001. Stack Trace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at TBUtility.ToolboxUtilityManager.ProcessArguments()
I have the same problem - and no solution yet.
I tried repairing VS2008 and execution of the IG tool as 32 bit application.
Hello,
I have seen similar COM exceptions when running toolbox utility programs for Microsoft packaged software as well. After some searching I bumped in to the following threads:
http://forums.msdn.microsoft.com/en-US/vsx/thread/57cb3f63-3999-4975-b2e8-3551347d2a56
and especially this one seemed more useful:
http://forums.msdn.microsoft.com/en-US/vsx/thread/8b920a71-01f4-41de-9dd4-e5ae9c929340
According to the thread above there could be problems if you are using Express editions, but this also hold true for some of the other editionm like some versions of Professional, or in some cases, when two versions of VS (both 2005 and 2008) are present.
Unfortunately this varies depending on the setup and I really do not know which case you have. I recommend reading the threads above and trying some of the workaround solutions suggested there and if this does not help, I am afraid the only solution will be to manually add the items to the toolbox (right click, select Choose Items and add all assemblies one by one).