While running the "Create Visual Studio Toolbox Tab" utlity from the start menu, I get the error message:
An error occured while attempting to add the Infragistics components to the toolbox
The message box shown also points to this log file:
C:\Users\ukeim\Documents\Infragistics\Tools\Toolbox Utility\Toolbox Utility.log
Which is actually zero bytes in length. I.e. completely empty.
Question: Any hints on what I can do to resolve and get the Infragistics toolbox tab in Visual Studio?
My configuration is:
ThanksUwe
Addition: I also have installed the "PowerCommands for Visual Studio 2008" which some report to be an issue sometimes.
I uninstalled them and now I am at least able to manually choose the toolbox items (before uninstalling, this lead to a crash of VS with ".NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (72B05E00) (80131506)" in the event log, event ID is 1023, event source ".NET Runtime").
Still the Infragistics Toolbox Tab Utility brings an error.
Same error for me.
There's the following content in my ToolBox Utility.log file (Uwe: the file gets filed after you confirm the error dialog with OK):
-----------------
22:52:54 - Params: /v 8.2 22:52:55 - PUBLIC: Begin processing NetAdvantage version 8,222:52:55 - Beginning to process VS v722:52:55 - Getting Type for ProgID: VisualStudio.DTE.722:52:55 - Type for ProgID: VisualStudio.DTE.7 - null22:52:55 - Beginning to process VS v7.122:52:55 - Getting Type for ProgID: VisualStudio.DTE.7.122:52:55 - Type for ProgID: VisualStudio.DTE.7.1 - null22:52:55 - Beginning to process VS v8.022:52:55 - Getting Type for ProgID: VisualStudio.DTE.8.022:52:55 - Creating type: System.__ComObject22:53:25 - EXCEPTION: System.Runtime.InteropServices.COMException Source: mscorlib Message: Creating an instance of the COM component with CLSID {BA018599-1DB3-44F9-83B4-461454C84BF8} 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()-----------------------------------------
My System Configuration is
Windows XP Pro (english) with both, VS 2005 and VS 2008 (SP1) installed (both in english, too), CA eTrust Antivirus.
I had a similar error when I tried the toolbox utility on the following virtual machine:
http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=c7a809d8-8c9f-439f-8147-948bc6957812&displaylang=en
Hmm, I did try the trick with the /t:9 switch ... but without success.
I also have VS2008 (SP1) installed and this is my error-stack:
--- cut ---
18:06:17 - EXCEPTION: System.Runtime.InteropServices.COMException Source: mscorlib Message: Eine Instanz der COM-Komponente mit der CLSID {1A5AC6AE-7B95-478C-B422-0E994FD727D6} konnte aufgrund des folgenden Fehlers nicht von der IClassFactory erstellt werden: 80010001. Stack Trace: bei System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) bei System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) bei System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) bei System.Activator.CreateInstance(Type type, Boolean nonPublic) bei TBUtility.ToolboxUtilityManager.ProcessArguments() --- cut ---
This references als CLSID {1A5AC6AE-7B95-478C-B422-0E994FD727D6} which is supposed to be the VS2008 IDE ... :(
"/t:9" actually did the trick!
Thank you very much, Andre!
I've submited a support request and will post the results later!
Uwe:
Try running the toolbox utility from the command line with the "/t:9" parameter. This should install the controls in VS 2008, only
C:\Program Files\Infragistics\NetAdvantage for .NET 2008 Vol. 2 CLR 2.0\Toolbox Utility> infragistics2.toolboxutility.exe /t:9.0 8.2
After reading this one, it seems that "{BA018599-1DB3-44f9-83B4-461454C84BF8}" indicates VS 2005, which I do not have installed.
Maybe the Toolbox Utility fails if it finds no VS 2005, even if VS 2008 is installed.