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

KB45036: "Couldn’t load the PMML -- It may not be properly formatted XML" informative message faced when trying to visualize the Predictive Model of a Predictive Metric in MicroStrategy Developer 9.x


Stefan Zepeda

Salesforce Solutions Architect • Strategy


"Couldn’t load the PMML -- It may not be properly formatted XML" informative message faced when trying to visualize the Predictive Model of a Predictive Metric in MicroStrategy Developer 9.x

 
SYMPTOM:
In Strategy Developer 9.x, the following error message appears when trying to view the Predictive Model of a Predictive Metric:

ka02R000000kblSQAQ_0EM440000002CcQ.png

   
Sample Code/Error
Couldn’t load the PMML -- It may not be properly formatted XML.
Error #: -2146697210: The system cannot locate the object
specified.
Line #:0
Line Position:0
Position In File:0
Source Text:
Document URL: C:\Program Files
(x86)Strategy\Desktop\pmml.xml
The first few lines of the PMML are shown below:
<?xml version="1.0" encoding="UTF-8" Standalone="no"?>
<PMML version="4.0" xmlns="http://www.dmg.org/PMML-4_0">
<Header copyright=Copyright (c) 2012 by Strategy,
Inc.">
<Application name="Strategy Hierarchical Linear
Regression" version="9.2.200.063"/>
<Timestamp>Wed May 16 11:01:15 2012</Timestamp>
</Header>
...
    
After clicking on OK, another informative message appears, reporting that the XML file couldn't be loaded, as shown:

ka02R000000kblSQAQ_0EM440000002CcW.png

Sample Code/Error
Couldn't load the XML. This form will close.
 
In the DSSErrors.log file, the following entry is appended:
Sample Code/Error
CPmmlrSupport::WriteToFile(606): Specified model file name (C:\Program Files (x86)\MicroStrategy\Desktop\pmml.xml) not valid.
 
 
CAUSE:
The logged Local or Network user does not have enough permission to access the referred directory: 
Sample Code/Error
C:\Program Files (x86)\MicroStrategy\Desktop
  
 
ACTION:
Make sure that the Local or Network user who launched the Strategy Developer has enough permission to access the files contained into this directory. 


Comment

0 comments

Details

Knowledge Article

Published:

June 8, 2017

Last Updated:

June 8, 2017