Run time error on one machine.
Hi I am not really clued up on C#, i have some sample code which uses an API to read a data source. One machine has VS2003 and one machine has VS2003 and VS2005.
My application is created in VS2003. When I build my project I don't get any errors. When I run it I get a nasty error on the machine with both versions of VS installed on it.
Can anyone explain why I get this message?
Unhandled Exception: System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {2B7D706A-E6F0-11D2-834A-00105AA72C88} is either not valid or not registered.
Like i said I only get it on the machine with two versions of Visual Studio.
csoumaPosted Mar 28, 2007, 9:19 AM
Scott LyslePosted Mar 27, 2007, 10:17 PM
Are you using something called the Heat API; as near as I can determine the class ID you listed is looking for this and it apparently does not exist on your target machine. You will need to move this to your target machine and register it (it is COM) in order to run your application.