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).
Thanks for sharing the solution in public forums - this will surely be appreciated by other developers. I hope that Microsoft fixed something in VS.NET SP1 that will address this issue forever.
Thanks again.
I have the same problem again (and I have VS2008 SP1). Why don't you just replace your .NET toolbox creation utility and use VB6 instead? Creating an instance of the given type with ProgID "VisualStudio.DTE.9.0" from VB6 works flawlessly.
This problem is really annoying.
Regards,
Mark Junker
I have the same problem w VS 2008 when adding ASP.NET3.5 controls. The utility fails with an empty log file, adn manually adding to the toolbox causes VS 2008 to crash.
I have the same problem with the install. I use vs2008 Professional. I get an error wehn trying to use the Create Toolbox tab feature. I then get blown out of VS2008 when I try to add the cotnrols manually.
Prior to this post I submitted an issue with infragistics. It was only yesterday, but I have not heard anything.
I also uninstalled and reinstalled VS2008 and that did not fix the problem. I then tried to install the 2009.2 Win forms version of infragistics. This installed fine and built out the tab fine. The 2009.1 ASP.NET version has an issue. It corrupts vs2008.
Joe,
Thanks for the update.
If you haven't already done so, you should mention these details in the support case, along with any other debugging steps you may have taken. (For anyone else reading this thread who has existing support cases, I recommend you do also update your cases with any steps you've taken.) Putting these updates on the support case it will save you and Developer Support time in diagnosing your issue.
There's likely something specific about your installation that's causing this. I've successfully installed our ASP.NET controls from NetAdvantage for .NET 2009 Volume 1 installed on Visual Studio 2008, as do other people both inside and outside of Infragistics. Since others are also encountering the same behavior you are, I suspect that both the cause and solution will be related to configuration, whether of VS2008 or of something else in your environment.
I uninstalled the add on VS Power Tools and then I was able to rerun the ASP.NET install and add my controls in properly. This was my solution.