Reputation: 19
i am getting following Pop Up Message Box when i try to save a transaction in a windows application
Unhandled exception has occured in your application.If you click Continue the application will ignore this error and attempt to continue. if you click Quit, the application wil close immediately.
Retrieving the COM class factory for component with CLSID {7E4A7632-4A0C-BAB6-AO7DACOA765B} failed due to following error:80040154
Please note i have build my application in x86 environment and my windows application is also installed in windows xp 32 bit machine.
In my code the above clsid is used for class that was com component and converted in to the Interop Assembly.
Kindly let me know as to how resolve the same on the installed machine.
Upvotes: 0
Views: 2528
Reputation: 6515
I think the misunderstanding is about what the interop assembly does. You said "converted into", but that is not at all what happened. The interop is simply the glue required between .Net and COM, like .Net class and function declarations. It doesn't do any real work - the function calls eventually need to go into the COM library, which has to be properly installed and registered.
Upvotes: 1