EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB18880: 'A name was started with an invalid character' error occurs when running a service that returns xml in MicroStrategy Narrowcast Server 10.x


Community Admin

• Strategy


SYMPTOM:
When a user runs a service in order to obtain the XML for an information object and the XSLT Chunking parameter is enabled, the service fails and returns the following error in Strategy Narrowcast Server 10.x:
 
Service ID Execution ID Segment ID Error formatting Document . FormatDocumentElement failed for Element 1[0:Failed to load XML into DOM (-1072896764): A name was started with an invalid character.

ka04W000000ObuZQAS_0EM440000002BIc.jpeg

STEPS TO REPRODUCE:
Follow the steps below to reproduce this issue in the Strategy Tutorial project:
 

  • Create a simple report with the attribute Order in the rows and the metric Revenue in the columns.
  • Add a filter to the report that returns only Orders which ID is less than or equal to 100 in order to return only 100 rows. Save and close the report.
ka04W000000ObuZQAS_0EM440000002BIm.jpeg
  • In Strategy Narrowcast Server 8.x, create a service that returns the XML for the report created in step 2. For more information on how to obtain the xml of an information object refer to the following Strategy Knowledge Base technical note:
     
  • KB6948 (KB6200-071-0275): How to obtain the XML for a Strategy Narrowcast Server service

CAUSE:
This is a known issue in Strategy Narrowcast Server 8.x when using the MSTR7ToHTML-ReturnXML.xsl file and the XSLT Chunking parameter is enabled. Notice that this only happens when more than one chunk is created. If the chunk size is enough to fit the result set in one chunk the issue does not occur and the xml is returned successfully.
 
ACTION:
Contact Strategy Technical Support for an update on the status of this issue.
 
WORKAROUND:
To prevent this issue from occurring, set XSLTChunking to 'false' or increase the QRA chunk size to a number greater than or equal to the number of rows that the report is returning in order to have just one chunk.
 
REGISTRY MODIFICATON:
WARNING:
Modifying registry values incorrectly may cause serious, system-wide problems that may require the re-installation of Microsoft Windows NT. Any edit of the registry is done at the user's own risk. Since these are user-initiated changes, they are not covered by any Strategy warranty. If using Microsoft Windows NT, the user should backup the registry and/or update an Emergency Repair Disk (ERD) prior to alterations.
 

  • Before running the service, open the registry in order to enable XSLT Chunking. Set the value to true. More information on XSLTChunking and QRAChunksize may be obtained through the following Strategy Knowledge Base technical note:
     
  • KB15312 (KB6200-753-1617): Description of QRAChunkSize and XSLTChunking parameters in Strategy Narrowcast Server 8.x
  • Change the QRA chunk size to 10. This will return 10 chunks in this example, as shown below:
ka04W000000ObuZQAS_0EM440000002BIa.jpeg
  • Close the registry and execute the service. The error should appear in the DELogs and the service will fail.

18880


Comment

0 comments

Details

Knowledge Article

Published:

June 8, 2017

Last Updated:

June 8, 2018