Select to view content in your preferred language

Error when report has query: There is no Grammar for uri: .

1700
3
10-29-2013 05:24 AM
DenisSeleznev
New Contributor
Hello.

When I open report that has any query for configuring in esri map designer, I get the error:

RSV-SRV-0003 The report specification contains an error at line ' 42', column ' 982'.
There is no Grammar for uri: .

If report has no queries this error doesn't appear, but configuration page is blank.

Cognos 10.2.1 (with Fixpack 1)
Esri 5.0.1

Does anyone know what is wrong and how I can resolve this issue?

Thanks a lot!
Tags (3)
0 Kudos
3 Replies
Aadvan_den_Berg
Deactivated User
I'm experiencing the same issue when running Cognos 10.2.1 FP1 with EsriMaps 5.0.1. When I create a report only containing the EsriMaps placeholder, I can configure it in EsriMaps Studio without any issues. When there's a query (even without any query-items) in the report MapStudio returns the error "There is no Grammar for uri: ."

Please update this topic when there is a solution/fix.

Edit: I've found that the issue has to do with the Cognos report specification version that differs between 10.2.1 and 10.2.1 FP1. The report spec version for 10.2.1 is 10 and for FP1 it is version 11.
0 Kudos
Aadvan_den_Berg
Deactivated User
I think I have found the cause of the issue and a solution for it. IBM Cognos has created a new version of it's report specification in Cognos 10.2.1 FP1. The report spec version for Cognos 10.2.1 is 10 and for Cognos 10.2.1 FP1 it is version 11. I think EsriMaps Mapstudio validates a report of Cognos 10.2.1 FP1 against version 10 which is causing the error.

I've gotten EsriMaps Mapstudio to work with Cognos 10.2.1 FP1, by making a small change in the defaultSpec.xml file in the EsriMaps folder ""<installation folder>\em4c\webapps\em4c\"".

Old line
<report xmlns="http://developer.cognos.com/schemas/report/10.0/" useStyleVersion="10" expressionLocale="en-us">

New line
<report xmlns="http://developer.cognos.com/schemas/report/11.0/" useStyleVersion="10" expressionLocale="en-us">
0 Kudos
FrancesLitt
Deactivated User
Hello,

As identified by E-mergo, there is a different report specification used for Cognos 10.2.1 and Cognos 10.2.1 Fix Pack 1.

In order to use Esri Maps for IBM Cognos 5.0.1 with Cognos 10.2.1 Fix Pack 1, you must replace a file on the EM4C Server in order to make the report schema version that is used by Esri Maps compatible with the version used by the Cognos fix pack.  The instructions, as well as the revised file, are available in this knowledge base article: http://support.esri.com/en/knowledgebase/techarticles/detail/41743

After updating from Cognos 10.2.1 to Cognos 10.2.1 FP1, all reports containing Esri Maps must be updated to match the report specification of the current Cognos installation.  To test if this is the cause of the "There is no Grammar for uri: ." error you are experiencing, try opening a report in Report Studio, saving it, and then reopening it in Esri Maps Designer.  After making the changes outlined in the KB article, and saving the report in Cognos 10.2.1 FP1, the report should be able to be configured in Esri Maps Designer.

Hope that helps,
Frances
0 Kudos