Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Management Reporter Configuration Console has stopped working

Posted on by Microsoft Employee

I recently upgrade an SL 2015 CU1 site to Management Reporter CU13.  Everything was cool for a few days until yesterday the Configuration Console wouldn't start with the following dialog:

MRCC.PNG

This is a Windows 2012 server meeting the System Requirements and I'm logged in as a Domain Admin with appropriate SL credentials.

The Application event entry for the error is:

System.Diagnostics.Eventing.Reader.EventLogException: The array bounds are invalid at System.Diagnostics.Eventing.Reader.EventLogException.Throw(Int32 errorCode) at System.Diagnostics.Eventing.Reader.EventLogReader.GetNextBatch(TimeSpan ts) at System.Diagnostics.Eventing.Reader.EventLogReader.ReadEvent(TimeSpan timeout) at Microsoft.Dynamics.Performance.Deployment.Reporting.ServiceLoggingViewModel.<.ctor>b__1(Object doesntMatter) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch()

If anyone has insight to resolve this error I'd be grateful for your assistance.

*This post is locked for comments

  • Thuyen Dang Profile Picture
    Thuyen Dang 5 on at
    RE: Management Reporter Configuration Console has stopped working

    Thank you so much...my problem fixed

  • Motz Jensen Profile Picture
    Motz Jensen 190 on at
    RE: Management Reporter Configuration Console has stopped working

    Hi Silvano

    The ProgramData folder is a hidden system folder on your C drive. Please see this link for more information:

    https://www.howtogeek.com/278562/what-is-the-programdata-folder-in-windows/

    Here is how you configure your Windows to show the hidden files and folders:

    https://www.howtogeek.com/howto/windows-vista/show-hidden-files-and-folders-in-windows-vista/

    But - you actually don't need to do that. You can use the "run" from your Windows Start menu or simply paste the C:\ProgramData path into your File Explorer. Please see pictures below.

    2018_2D00_05_2D00_10_5F00_18h15_5F00_35.png

    2018_2D00_05_2D00_10_5F00_18h15_5F00_35.png

    2018_2D00_05_2D00_10_5F00_18h16_5F00_37.png

    Let me know if that helps you on your way or not.

  • Abdo Khoury Profile Picture
    Abdo Khoury 14,849 on at
    RE: Management Reporter Configuration Console has stopped working

    hello Motz

    i have the exact same issue, and i am trying to follow your instructions but i can't find any folder called "Programdata"

  • Motz Jensen Profile Picture
    Motz Jensen 190 on at
    RE: Management Reporter Configuration Console has stopped working

    I hope that means it worked for you as well Joseph Guyton? :)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Management Reporter Configuration Console has stopped working

    winner winner, chicken dinner.

    Thanks!

  • Motz Jensen Profile Picture
    Motz Jensen 190 on at
    RE: Management Reporter Configuration Console has stopped working

    I hope that my explanation towards what goes wrong helped you work around the little bug Ganesan Natarajan.

    Have a nice day :)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Management Reporter Configuration Console has stopped working

    Thank you! Mötz Jensen for saving my day..!

    Thanks,

    Ganesan

  • Motz Jensen Profile Picture
    Motz Jensen 190 on at
    RE: Management Reporter Configuration Console has stopped working

    @Daniel

    I sure hope you didn't waste to much time on that little bug :o)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Management Reporter Configuration Console has stopped working

    You absolutely legend, that fixed my problem!

  • Verified answer
    Motz Jensen Profile Picture
    Motz Jensen 190 on at
    RE: Management Reporter Configuration Console has stopped working

    Hi Guys,

    I just ran into the same problem / issue with Management Reporter 2012 CU 13 as MonacoGP.

    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 deepdived into some troubleshooting and somewere along the way the MR2012-CU13 installation broke. I'm seeing the excact same thing as MonacoGP:

    • Full uninstall of MR2012-CU13
    • Reboot server
    • Install the Server component of MR2012-CU13
    • Start the Configuration Console and receive the famuse 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

    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 MonacoGP and 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.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans