Skip to Content
0
Former Member
Oct 22, 2009 at 05:10 PM

object instance not set to instance of an object

49 Views

Use the Visual Studio 2005, framework 2.0, SQLServer, Crystal for Visual Studio 2005 and displays this error message when opening the report.

Unable to cast COM object of type 'CRAXDRT.ApplicationClass' to interface type 'CRAXDRT.IApplication'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{AF376830-6120-4E28-96DD-63FD2DC27B7A}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

[InvalidCastException: Unable to cast COM object of type 'CRAXDRT.ApplicationClass' to interface type 'CRAXDRT.IApplication'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{AF376830-6120-4E28-96DD-63FD2DC27B7A}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).]

CRAXDRT.ApplicationClass.OpenReport(String pFileName, Object OpenMethod) +0