I was getting this error when trying to execute a newly developed Report Studio report. The knowledge base article below gives a great hint to why you are getting this error. In my case, I had the ‘#’ character in the ’prompt text’ property inside of a query macro.
Description:
I have a query with Tabular SQL/SQL objects and everytime I execute or validate the report I get a RSV-SVR-0040 error.
Error Message:
RSV-SVR-0040
RSVP 1346 3 Audit.RTUsage.RSVP Validate Report Failure <Exception Name=”CCLAssertError” Error=”0″ Severity=”Fatal”><Messages><MessageText>CCL_ASSERT(m_nodeImpl != NULL);</MessageText></Messages><TraceInfo><Trace Text=”RSReportService.cpp(654): CCLAssertError: CCL_CAUGHT: RSReportService::process()”/><Trace Text=”RSReportServiceMethod.cpp(177): CCLAssertError: CCL_RETHROW: RSReportServiceMethod::process(): reportValidateSpecification_Request”/><Trace Text=”RSASyncExecutionThread.cpp(520): CCLAssertError: RSASyncExecutionThread::checkException”/><Trace Text=”RSASyncExecutionThread.cpp(173): CCLAssertError: CCL_CAUGHT: RSASyncExecutionThread::run(): reportValidateSpecification_Request”/><Trace Text=”RSASyncExecutionThread.cpp(570): CCLAssertError: CCL_RETHROW: RSASyncExecutionThread::processCommand(): reportValidateSpecification_Request”/><Trace Text=”ExecutionContextImpl/RSReportValidateExecutionContext.cpp(97): CCLAssertError: CCL_RETHROW: RSReportValidateExecutionContext::run()”/><Trace Text=”Execution/RSRenderExecution.cpp(514): CCLAssertError: CCL_RETHROW: RSRenderExecution::execute”/><Trace Text=”Execution/RSRenderExecution.cpp(784): CCLAssertError: CCL_RETHROW: RSRenderExecution::processActiveDocuments”/><Trace Text=”Assembly/RSDocAssemblyDispatch.cpp(235): CCLAssertError: CCL_RETHROW: RSDocAssemblyDispatch::dispatchAssembly”/><Trace Text=”RSQueryMgr.cpp(779): CCLAssertError: CCL_RETHROW: RSQueryMgr::getListIterator”/><Trace Text=”RSQueryMgr.cpp(844): CCLAssertError: CCL_RETHROW: RSQueryMgr::getResultSetIterator”/><Trace Text=”RSQueryMgr.cpp(996): CCLAssertError: CCL_RETHROW: RSQueryMgr::createIterator”/><Trace Text=”RSQueryMgr.cpp(1626): CCLAssertError: CCL_RETHROW: RSQueryMgr::executeRsapiCommand”/><Trace Text=”QFSSession.cpp(1430): CCLAssertError: CCL_RETHROW: QFSSession::ProcessDoRequest()”/><Trace Text=”QFSSession.cpp(1428): CCLAssertError: CCL_CAUGHT: QFSSession::ProcessDoRequest()”/><Trace Text=”QFSSession.cpp(1393): CCLAssertError: CCL_RETHROW: QFSSession::ProcessDoRequest()”/><Trace Text=”QFSConnection.cpp(663): CCLAssertError: CCL_RETHROW: QFSConnection::Validate”/><Trace Text=”QFSQuery.cpp(208): CCLAssertError: CCL_RETHROW: QFSQuery::Validate2″/><Trace Text=”CoordinationQFSQuery.cpp(1460): CCLAssertError: CCL_RETHROW: QE”/><Trace Text=”QFSQuery.cpp(238): CCLAssertError: CCL_RETHROW: QFSQuery::Validate v3″/><Trace Text=”Source/QE_RsApi.cpp(3743): CCLAssertError: CCL_RETHROW: QE”/><Trace Text=”Source/QE_RsApi.cpp(3618): CCLAssertError: CCL_RETHROW: QE”/><Trace Text=”CCLIDOM_Node.cpp(210): CCLAssertError: CCL_THROW: “/></TraceInfo></Exception> <parameters><item name=”model”><![CDATA[]]></item></parameters>
Root Cause:
There were characters in the SQL that Cognos recognizes as special characters such as #, which usually used to represent Macros.
Solution:
Either,
1. Do not use special characters in your SQL objects
2. Escape special characters using ” (double single-quotes)
Filed under: Report Studio, Uncategorized | Leave a Comment »