Click here to Skip to main content
15,894,179 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
We are trying to work on a web appication that was built in Visual Studio 2010 to Visual Studio 2012. The code compiles, but the controls all have an error:

Error Creating Control - (ControlName)
Error HRESULT E_FAIL has been returned from a call to a COM component.

When trying to actually run the web application in Visual Studio 2012, a window with this same error "Error HRESULT E_FAIL has been returned from a call to a COM component." shows up.

Has anyone else experienced this and if so, what steps can be taken to resolve it?

I dont have Visual Studio 2010 to open the application in.

Thank you
Posted
Comments
Sergey Alexandrovich Kryukov 28-Feb-13 12:25pm    
Why would you need a COM component at all? I hope it's on the server side, isn't it?
—SA
Ryanm1324 28-Feb-13 13:49pm    
I dont need a COM component.
Ryanm1324 28-Feb-13 13:53pm    
Where I have a control, this error shows. So one of them is a label and instead of showing the label, it shows:
Error Creating Control - lblMsg
Error HRESULT E_FAIL has been returned from a call to a COM component.
Sergey Alexandrovich Kryukov 28-Feb-13 14:13pm    
Than why do you mention it?
—SA
Ryanm1324 28-Feb-13 15:06pm    
I mention it because that is the exact error showing in Visual Studio.

1 solution

Got VS 2010 and it opens fine. Just too bad its not working in 2012.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900