Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello .....

when i am trying to run my website then it give following 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)). "


i tried my best for find solution for it but i cant find it..... please help to solve this....

thank you.............
Posted
Comments
Thomas Duwe 19-Mar-13 4:17am    
What OS are you running? 32bit or 64bit?
What Visual Studio version are you using?
Rahul_Parekh 19-Mar-13 6:57am    
i am running window 7 with 32 bit

i am using visual studio 2010.....
Jegan Thiyagesan 19-Mar-13 7:50am    
Did you run your app in the Visual studio, or on its own?
Rahul_Parekh 19-Mar-13 8:29am    
i run my website in my visual studio....
Jegan Thiyagesan 19-Mar-13 8:49am    
In VS in the "Debug" menu, click on the "Exceptions" sub menu item (or use the short cut key Ctrl+D,E) to open the exception window.

In the exception Window Click on the "Find" button, this will open a search dialog. In the search dialog type "ComObject" and click on the "Ok" button to search for that exception.

The search will highlight the "System.Runtime.InteropServices.ComObjectInUseException" under the tree of "System.RuntimeInteropeServices". Click on the check box "System.Runtime.InteropServies" this will enable all child exceptions. Click ok to close the Exception window, and run the app again. This time the VS will break at the point when the exception occurs. When it breaks look at the code to see what is going wrong. If you cannot see any bug, post the code here.

1 solution

Hi,

there are some things you can try, if nothing helps, you either have to:

1) uninstall Visual Studio and reinstall
2) or reinstall your OS and Visual Studio

because something is broken with your COM-registration.

By the way, all these things I found via our good friend Google, so maybe you could try harder the next time before you post a question.
The information I reiterate here for your benefit are from following links:

http://social.msdn.microsoft.com/Forums/en-US/csharpide/thread/d9a0d7b9-fb8b-4539-a7ac-1aab9b25a0f0/[^]

and
http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/d5d3e5fc-d8ce-4f42-b7ea-9bbbb7756a20[^]

Ok.

Before you start, open the registry editor and look in following keys:

HKEY_CLASSES_ROOT\Interface\{EDA26258-95DF-44A0-A244-D545E6C1196C}\

HKEY_LOCAL_MACHINE\Software\Classes\Interface\{EDA26258-95DF-44A0-A244-D545E6C1196C}\

There should be 2 subkeys : NumMethods and ProxyStubClsid32.
In NumMethods there should be a key-value pair: (Standard), value=5
and in ProxyStubClsid32 a key-value-pair of: (Standard), value={2C28A1A9-EDB1-4A70-AE14-E0A5C7E81C2C}

If you do not have these entries
(either the main key of {EDA26258-95DF-44A0-A244-D545E6C1196C} is missing or the values differ)
then create these entries (all string entries).

If you have these entries/keys, then go to following keys:

HKEY_CLASSES_ROOT\CLSID\{2C28A1A9-EDB1-4A70-AE14-E0A5C7E81C2C}
HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{2C28A1A9-EDB1-4A70-AE14-E0A5C7E81C2C}

In both should be a subkey named:InProcServer32 with
a key-value-pair of: (Standard), value=<Path>\msenv100p.dll
and a key-value-pair of: ThreadingModel, value=Both

Then check the path of the msenv100p.dll file. Does it exist at the specified location?

If not, search for this file (usually somewhere in the Program Files directory), open an administrator command prompt there
and re-register this dll with: regsvr32 msenv100p.dll

If your problem is not solved, try to re-register the msenv100p.dll anyway.

If this is not solving your problem, try to re-register the actxprxy.dll found in C:\Windows\system32\ in the same way as msenv100p.dll.

Hope this helps,

Thomas.
 
Share this answer
 
v2
Comments
Rahul_Parekh 19-Mar-13 8:28am    
hello thomus duwe...

first of all thanks a lot for your reply......

i check all registry key which you said and all are their...
i think there are no problem with them...

and i should re-install visual studio.....
Thomas Duwe 19-Mar-13 8:39am    
Did you check the path to msenv100p.dll?
Try to re-register the msenv100p.dll and actxprxy.dll
Does this work?

If this is not working, try to start visual studio in safemode, try to run your website.

Other option is to reinstall Visual Studio
Rahul_Parekh 20-Mar-13 1:35am    
hello thomus duwe

i just try to re-register msenv100p.dll but it give me following error...

" The module msevn100p.dll is failed to load . make sure the binary is stored at specified path or debug it to check for problems for the binary dependent .dll files. the specific module could not be found..."

and other one dll is re-registered completely ....

thanks thomas duwe......
Rahul_Parekh 20-Mar-13 2:48am    
hello thomus duwe

i just try to re-register msenv100p.dll but it give me following error...

" The module msevn100p.dll is failed to load . make sure the binary is stored at specified path or debug it to check for problems for the binary dependent .dll files. the specific module could not be found..."

and other one dll is re-registered completely ....

thanks thomas duwe......

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