Well, your Management Reporter reports are stuck and you can't run anything. That is no fun. What the hell is going on?
Don't worry (yet). This is a common issue that we see with Management Reporter. It will happen in any product that runs MR whether it is AX, GP, NAV, or similar. It can be due to many issues. The key to this is determining what is causing it if it occurs on a very common basis.
Thankfully, there is an easy way to fix this: restart the MR services. The tricky part is finding out why its happening since its not a reasonable expectation to have to deal with this when it goes down all the time.
Below is a good guide from Microsoft in debugging this issue. I would STRONGLY suggest any IT staff dealing with MR read this guide since this issue will inevitably happen.
There are five potential causes for this error:
There are five potential causes for this error:
Cause 1
If the Management Reporter Process Service is on the same machine as the machine hosting your ManagementReporter SQL database. The Process Service may have errored out by attempting to start before SQL Server was accepting connections. See Resolution 1 in the Resolution section.
If the Management Reporter Process Service is on the same machine as the machine hosting your ManagementReporter SQL database. The Process Service may have errored out by attempting to start before SQL Server was accepting connections. See Resolution 1 in the Resolution section.
Cause 2
A SQL Server connection error has occurred and the Management Reporter Process Service needs to be restarted. See Resolution 2 in the Resolution section.
A SQL Server connection error has occurred and the Management Reporter Process Service needs to be restarted. See Resolution 2 in the Resolution section.
Cause 3
The user running the Management Reporter Process Service does not have sufficient permissions to read from the ManagementReporter SQL Server database. See Resolution 3 in the Resolution section.
The user running the Management Reporter Process Service does not have sufficient permissions to read from the ManagementReporter SQL Server database. See Resolution 3 in the Resolution section.
Cause 4
The SQL Service Broker on the ManagementReporter SQL Server database is not enabled. See Resolution 4 in the Resolution section.
The SQL Service Broker on the ManagementReporter SQL Server database is not enabled. See Resolution 4 in the Resolution section.
Cause 5
This can happen if the owner of the Management Reporter database is a Windows User while the SQL Server Service is being run by a local user. If you check the Event Viewer, you may see this message:
An exception occurred while enqueueing a message in the target queue. Error 15404, State 19. Could not obtain information about Windows NT group/user 'domain\user', error code 0x5.
See Resolution 5 in the Resolution section.
This can happen if the owner of the Management Reporter database is a Windows User while the SQL Server Service is being run by a local user. If you check the Event Viewer, you may see this message:
An exception occurred while enqueueing a message in the target queue. Error 15404, State 19. Could not obtain information about Windows NT group/user 'domain\user', error code 0x5.
See Resolution 5 in the Resolution section.
Resolutions
Resolution 1
If using Windows Server 2008 you can set the Management Reporter Process Service to Automatic (Delayed Start) rather than Automatic.
OR
Restart Process Service manually or with a script similar to the following:
NET STOP MRProcessService
NET START MRProcessService
Resolution 2
Restart Process Service manually or with a script similar to the following:
NET STOP MRProcessService
NET START MRProcessService
Resolution 3
Grant the user running this service the GeneralUser role under the Management Reporter database in SQL Server. This user can be found on the Log On tab under the Services Control panel.
Resolution 4
Run the following statement on the SQL server where your ManagementReporter database resides:
SELECT name, is_broker_enabled FROM sys.databases WHERE name = DB_NAME() AND is_broker_enabled = 1
This statement should return a row for the ManagementReporter SQL Server database. If it does not, run the statement below to re-enable the SQL Service Broker on the ManagementReporter SQL Server database:
ALTER DATABASE [ManagementReporter] SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE;
Resolution5
Change the database owner to sa or change the SQL Server Service user to a domain user.
If using Windows Server 2008 you can set the Management Reporter Process Service to Automatic (Delayed Start) rather than Automatic.
OR
Restart Process Service manually or with a script similar to the following:
NET STOP MRProcessService
NET START MRProcessService
Resolution 2
Restart Process Service manually or with a script similar to the following:
NET STOP MRProcessService
NET START MRProcessService
Resolution 3
Grant the user running this service the GeneralUser role under the Management Reporter database in SQL Server. This user can be found on the Log On tab under the Services Control panel.
Resolution 4
Run the following statement on the SQL server where your ManagementReporter database resides:
SELECT name, is_broker_enabled FROM sys.databases WHERE name = DB_NAME() AND is_broker_enabled = 1
This statement should return a row for the ManagementReporter SQL Server database. If it does not, run the statement below to re-enable the SQL Service Broker on the ManagementReporter SQL Server database:
ALTER DATABASE [ManagementReporter] SET ENABLE_BROKER WITH ROLLBACK IMMEDIATE;
Resolution5
Change the database owner to sa or change the SQL Server Service user to a domain user.