Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

MR2012 CU13 - Configuration Console fails

Posted on by 190

Hi Guys,

I just ran into a problem / issue with Management Reporter 2012 CU 13 today. I found a solution but I wanted to share it with you guys. Some of the folks on the Dynamics SL forum had the same issue and I posted a reply there also.

My experience from today:

The Server component of Management Reporter 2012 CU 13 (MR2012-CU13) installed like a charm. I installed the application and processing service with very little effort. I now wanted to implement my integration for the AX 2012 platform but I got some errors.

I deep-dived into some troubleshooting and somewhere along the way the MR2012-CU13 installation broke. I began to receive and error each time I started the Configuration Console and rebooted the server several times. I did the following:

  • Full uninstall of MR2012-CU13
  • Reboot server
  • Install the Server component of MR2012-CU13
  • Start the Configuration Console and receive the same error

2015_2D00_11_2D00_19_5F00_15h10_5F00_55.png

  • Look into the Application Event Viewer log and find the following error message:

....
System.Xml.XmlException: Unexpected end of file.
at System.Xml.EncodingStreamWrapper.ReadBOMEncoding(Boolean notOutOfBand)
at System.Xml.EncodingStreamWrapper..ctor(Stream stream, Encoding encoding)
....

  • Did a full uninstall of MR2012-CU13
  • Reboot server
  • Install the Server component of MR2012-CU12 this time
  • Start the Configuration Console without any errors

So now I could continue to use MR2012-CU12 or I could try to upgrade the installation to CU13 and hope it would fix my issues with the Configuration Console. Boy was I wrong! The Configuration Console threw the same error over and over regardless of reboots or full uninstall / installation.

This got me curious and I did some reverseengineering and threw all my effort into to finding the problem. Fast forward 5 hours and I found that the following scenario is what I'm facing:

  • When starting the Configuration Console of MR2012-CU13 it loads the basic configuration into memory. When you exits the program, the configuration is written to disk at this location:

C:\ProgramData\IsolatedStorage\XXXX.YYYY\ZZZZ.WWWW\Publisher.XXYYZZWW\AssemFiles\DeploymentContext.txt

  • The next time you start the Configuration Console of MR2012-CU13 it reads the file and starts the program.
  • If the file is EMPTY - then MR2012-CU13 will fail with the above error message.

Delete the file and MR2012-CU13 will load the configuration into memory once again and save it when you exit the program.

Try to clear the file on a MR2012-CU13 installation and see for you self that it breaks down. Delete the file and start the Configuration Console again and exit it right away. Now the file is written to disk containing the need configuration for your installation.

TL;DR:

The Configuration Console program in MR2012-CU13 fails when the file:

C:\ProgramData\IsolatedStorage\XXXX.YYYY\ZZZZ.WWWW\Publisher.XXYYZZWW\AssemFiles\DeploymentContext.txt

is empty. 

Just delete the file and start the Configuration Console again.

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans