Microsoft Office Excel has encountered a problem and needs to close
I am executing the following code in an excel application and while closing excel I am getting the error
'Microsoft Office Excel has encountered a problem and needs to close'.
ReportEngines boReportEngines ;
CrystalDecisions.Enterprise.SessionMgr loginSessionManager = new CrystalDecisions.Enterprise.SessionMgr();
CrystalDecisions.Enterprise.EnterpriseSession boEnterpriseSession = loginSessionManager.Logon("userName", "password", "cms", "authentication");
int iMinuteNumber = 1;
int iLogonNumber = -1;
string strToken = boEnterpriseSession.LogonTokenMgr.CreateWCAToken("", iMinuteNumber, iLogonNumber);
boReportEngines = new ReportEngines(strToken);
boIReportEngine = (IReportEngine)Session.boReportEngines.getService(ReportEngineType.WI_ReportEngine);
The exception that is displayed while debugging is 'BusinessObjects.ThirdParty.OOC.OB.AssertionFailed'.
Edited by: dpanicker on Jun 23, 2010 6:47 AM
Edited by: dpanicker on Jun 23, 2010 7:26 AM