Getting error while opening report using RAS SDK

Hi,

I am getting error ‘No such interface supported’ while opening report using RAS SDK

infoObjects = infoStore.Query(“Select SI_ID From CI_INFOOBJECTS Where SI_NAME=’” + sampleReportName + “’ And SI_INSTANCE=0”);
infoObject = infoObjects[1];
reportAppFactory = (ReportAppFactory)enterpriseSession.GetService("",“RASReportFactory”).Interface;

_reportClientDocument = reportAppFactory.OpenDocument(infoObject.ID, 0);//**Getting error at this line

crystalReportViewer.ReportSource = _reportClientDocument;
crystalReportViewer.Visible = false;


amolmali (BOB member since 2008-10-08)

Did you solve that problem?

Thanks!

M


M :de: (BOB member since 2003-11-25)

I see that it is Deprecated. As of Version 10. have not gotten new version to work – new takes an InfoObject, old the InfoObject.ID


sijaffe (BOB member since 2017-06-06)