I am using Visual Studio 2010. I was debugging a web application and an exception happened and VS 2010 froze. I ended the VS 2010 in the task manager and when I went back to developing, I found on every form for every ASP.net control I get:
Error Creating Control -
Error HRESULT E_FAIL has been returned from a call to a COM component.
Also I am unable to edit the form or add anything from the toolbox.
If it continues to happen after restarting VS, I’d recommend deleting the WebsiteCache. Chances are when the process was killed, the cache was corrupted and now it can’t be loaded properly so initialization of the control hosting system is failing.
You can delete the project cache at "Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplatesCache", then run "devenv /setup" to build the cache again to see if it helps.
None
0 Points
1 Post
Visual Studio 2010 - Design Mode Error - "Error Creating Control"
Sep 29, 2010 10:03 PM|cesperanza|LINK
Greetings,
I am using Visual Studio 2010. I was debugging a web application and an exception happened and VS 2010 froze. I ended the VS 2010 in the task manager and when I went back to developing, I found on every form for every ASP.net control I get:
Error Creating Control -
Error HRESULT E_FAIL has been returned from a call to a COM component.
Also I am unable to edit the form or add anything from the toolbox.
Any help on this matter will be appreciated.
Error Creating Control
None
0 Points
8 Posts
Re: Visual Studio 2010 - Design Mode Error - "Error Creating Control"
Sep 30, 2010 12:42 PM|nkoriginal|LINK
Hello I've the same problem and I tried everything but I cannot find any solution to this problem.
Do you fixed the problem??
Please let me know I will lose my mind with this issue.
Thanks
Member
482 Points
190 Posts
Re: Visual Studio 2010 - Design Mode Error - "Error Creating Control"
Oct 04, 2010 03:46 PM|anhphan|LINK
If it continues to happen after restarting VS, I’d recommend deleting the WebsiteCache. Chances are when the process was killed, the cache was corrupted and now it can’t be loaded properly so initialization of the control hosting system is failing.
Please let me know if it fixed the issue. Thanks.
None
0 Points
8 Posts
Re: Visual Studio 2010 - Design Mode Error - "Error Creating Control"
Oct 04, 2010 05:18 PM|nkoriginal|LINK
Thank you for your help.
How I can delete the website cache??
I deleted everything in "my documents" reference to visual studio and I check framework folder inside windows and I deleted everything too.
today I tried again to work with my VS. the first hour it worked ok, but after Installed office or opened the dataset in visual I had the same error.
It possible dataset or office (access), affect something in this issue??
thanks. I working with VS more than 3 years and never I had this issue.
Member
482 Points
190 Posts
Re: Visual Studio 2010 - Design Mode Error - "Error Creating Control"
Oct 07, 2010 02:01 PM|anhphan|LINK
You can delete the project cache at "Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplatesCache", then run "devenv /setup" to build the cache again to see if it helps.
None
0 Points
3 Posts
Re: Visual Studio 2010 - Design Mode Error - "Error Creating Control"
Dec 23, 2010 12:21 AM|Zookeeper|LINK
I'm having this EXACT same problem. Deleting the project cache didn't help. Uninstalling and reinstalling VS10 didn't help either.
Can someone recommend a place to go to get an answer from Microsoft as to what would be causing this problem?