IT Community - Software Programming, Web Development and Technical Support

System.Runtime.InteropServices.COMException in windows vista

This is a discussion on System.Runtime.InteropServices.COMException in windows vista within the C# Programming forums, part of the Software Development category; Hi, I am using the EarthLib in my application, its working fine in windows XP SP2.. But when i tried ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 11-13-2007, 11:31 PM
$enthil $enthil is offline
D-Web Sr.Programmer
 
Join Date: Apr 2007
Posts: 162
$enthil is on a distinguished road
Smile System.Runtime.InteropServices.COMException in windows vista

Hi,

I am using the EarthLib in my application, its working fine in windows XP SP2.. But when i tried to run in windows vista, it shows the following error message:

Quote:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {8097D7E9-DB9E-4AEF-9B28-61D82A1DF784} failed due to the following error: 80040154.
at Googlemap.GoogleEarthViewPort.GoogleEarthViewPort_ Load(Object sender, EventArgs e)
at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Can anyone help to solve this issue?
__________________
$enthil
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-14-2007, 02:11 AM
it.wily it.wily is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 89
it.wily is on a distinguished road
Smile Re: System.Runtime.InteropServices.COMException in windows vista

I think u have to register the COM component you are using in your project..

Last edited by it.wily : 11-14-2007 at 09:38 PM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-14-2007, 09:40 PM
$enthil $enthil is offline
D-Web Sr.Programmer
 
Join Date: Apr 2007
Posts: 162
$enthil is on a distinguished road
Thumbs down Re: System.Runtime.InteropServices.COMException in windows vista

I tried to register the COM component i am using in my project but i can't able to register...
__________________
$enthil
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-14-2007, 09:51 PM
it.wily it.wily is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 89
it.wily is on a distinguished road
Cool Re: System.Runtime.InteropServices.COMException in windows vista

Try like this...

Open ur project in vista system, remove the com component u have already added in ur project and add it again.. Now, try to build it again..
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Introduction to Windows Vista arjkhanna Operating Systems 36 10-01-2008 12:18 AM
System.UnauthorizedAccessException in windows vista $enthil C# Programming 2 11-16-2007 02:49 AM
Download Windows Vista VHD today senthilkannan Microsoft 0 11-03-2007 12:43 AM
How is windows vista for web development? varghese PHP Programming 0 09-03-2007 08:36 AM
New features in Windows Vista vadivelanvaidyanathan Microsoft 1 04-29-2007 02:17 AM


All times are GMT -7. The time now is 11:35 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0