Troubleshooting
Problem
Unable to open a Framework Manager model.
Symptom
Error BME-EX-0071 Encountered an error at The input ended before all started tags were ended. Last tag started was 'refobj' line number: 682, column number: 20,371.
BME-EX-0073 Unable to parse the file
or
BME-EX-0071 Encountered an error at Invalid character (Unicode: 0x0) line number: 11, column number: BME-EX-0073 Unable to parse the file:
Cause
The model is corrupt or missing some of the relevant files. This is reflected in the second error message as FrameWork Manager cannot read the model.xml file which stores most of the model metadata. The .CPF file must reside in the project directory with all the relevant XML files.
Resolving The Problem
If the model is corrupt, restore the model from backup to a different directory. When restoring a model from backup, restore the entire model folder to get all model files - not just the model.xml.
OR
Use bmtscriptplayer.exe to recover the project from the logs (steps below).
Steps:1. Open a Command Prompt.2. Go to the ReportNet_installation or Framework_Manager_Installation\crn\bin directory. Ensure the directory contains the bmtscriptplayer.exe file.
3. From the directory where the project file (.CPF) is located, locate the logs directory and sort the files in that directory by date. The earliest (oldest) file is the first file and most recent file is the last file. You can also use the command - dir /OD project_dir\logs
4. At the Command Prompt, type -
Bmtscriptplayer -c new_project_dir\newproject.cpf -a old_project_dir\logs\oldest_file.xml
for example -
Example : Bmtscriptplayer -c d:\My Projects\newproj.cpf -a d:\My Projects\logs\newproj-20050217083318-log.xml
The above command will create a new project file and apply the transactions from the oldest (first) transactions file.
5. Delete the newly added transaction log file from the logs directory.
6. Use the following command to apply the rest of the transaction logs to the project -
for /F "usebackq delims==" %i in (`dir /B /OD Old_Project_dir\logs`) do "BmtScriptPlayer.exe" -m New_Project_dir\NewProject1.cpf -a <Old_Project_dir>\logs\%i
Example:
for /F "usebackq delims==" %i in (`dir /B /OD d:\temp\Old_Project1\logs`) do "BmtScriptPlayer.exe" -m d:\temp\NewProject1\NewProject1.cpf -a D:\temp\Old_Project1\logs\%i
If the application of all the logs is successfull, the newly created project file should be a copy of the old project.
Note that if authentication is enabled, using the username and password for the BmtScriptPlayer.exe might be needed. "-u <username> -p <passwd>"
Refer to the FrameWork Manager Users Guide for more details.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21341395