Click here to Skip to main content
15,886,422 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all,
I installed in my system Visual Studio 10.0 and created a web site when I build this error is came how can I solve.

Error:

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.Shell.Interop.IVsDesignTimeAssemblyResolution'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{EDA26258-95DF-44A0-A244-D545E6C1196C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Posted
Comments
Richard MacCutchan 18-Mar-13 7:20am    
No such interface supported
That explains the error, so you need to check your code against the published documentation for the class you are trying to access.
Sergey Alexandrovich Kryukov 18-Mar-13 12:04pm    
Exactly. The actual runtime type is not assignment-compatible with what OP thought. The debugger and reading documentation will help.
—SA
U@007 19-Mar-13 1:20am    
Iam not written any code just create empty website add default page and just build my web site above error is came.
U@007 19-Mar-13 1:20am    
Iam not written any code just create empty website add default page and just build my web site above error is came.
Sergey Alexandrovich Kryukov 19-Mar-13 2:14am    
Sorry, not. An empty Web site won't show this error. Maybe you did not write code with your own hands, but somehow you are trying to use Microsoft.VisualStudio.Shell.Interop. How? Maybe this is Visual Studio, not a Web application error? What happened, exactly?
—SA

Register the msenv100p.dll to resolve the issue.

Cd C:\Program Files (x86)\Common Files\microsoft shared\MSEnv
then type the below commands
regsvr32 /u msenv100p.dll
regsvr32 msenv100p.dll
 
Share this answer
 
Comments
Member 13260245 29-Jan-18 18:56pm    
This solved my development environment crash issue! Thank you. I know it's 5
years old, but still a gem to find. Thank you Pramod!
My system formated again and install the vs2010 so it's working fine.

Thank you very much. who helping me.
 
Share this answer
 

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