Hi
I have a C# program that I haven't written my self, but I have it running on a server here. Now I've opened the source on my computer (and upgraded the project without error to VS 2008). Then I've changed two small lines in the code and re-compiled it (again without error). But when I run the new exe file on my server I get the following error:
(System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'ADBInterfaceDLL.ArticleDataBase'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{81B80D72-77C9-4C70-A7C2-20A80BDB83BC}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
The file ADBInterfaceDLL is located in my project and is only 4096 bytes large. I have the same version on my computer as on the server.
Any idea why I get this error?
</Morten>
I have a C# program that I haven't written my self, but I have it running on a server here. Now I've opened the source on my computer (and upgraded the project without error to VS 2008). Then I've changed two small lines in the code and re-compiled it (again without error). But when I run the new exe file on my server I get the following error:
(System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'ADBInterfaceDLL.ArticleDataBase'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{81B80D72-77C9-4C70-A7C2-20A80BDB83BC}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
The file ADBInterfaceDLL is located in my project and is only 4096 bytes large. I have the same version on my computer as on the server.
Any idea why I get this error?
</Morten>