Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VisualStudio2010
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 18-Mar-13 2:15am
U@0071K
Comments
Richard MacCutchan at 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 at 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 at 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 at 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 at 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
U@007 at 19-Mar-13 2:22am
   
I think so that's why I unistalled my visual studio and reinstall same error is came I don't know what happend?
Sergey Alexandrovich Kryukov at 19-Mar-13 2:26am
   
Not enough information then...
—SA
Richard MacCutchan at 19-Mar-13 5:12am
   
In that case it is more likely like a Visual Studio issue, and should be reported to Microsoft.
U@007 at 25-Mar-13 7:35am
   
ya right I did that.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

My system formated again and install the vs2010 so it's working fine.
 
Thank you very much. who helping me.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  

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



Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 26 Jul 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100