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
- 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