hello All,
when i am debugging the following code i am facing following Error.
Dim client As LFClient.Document
client = GetObject(Nothing, "LFClient.Document")
Dim ActiveRepository As LFDatabase
ActiveRepository = client.GetDatabase()
Error:
Unable to cast COM object of type 'System.__ComObject' to interface type 'LFSO102Lib.LFDatabase'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{EC6C659C-E0B1-48E1-AC0A-5097B1B78300}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
any idea what is wrong in my code?