Friday, April 6, 2012

DPM reporting fails (after server reinstall)

Reinstallation of DPM with the same server name and database. For instance in the case of hardware replacement. Could lead to failing reports on the DPM server.

Error

An error occurred during client rendering.

An error has occurred during report processing. (rsProcessingAborted)

Cannot create a connection to data source 'DLS'. (rsErrorOpeningConnection)

Cannot open database "DPMDB" requested by the login. The login failed. Login failed for user ‘%servername%\DPMR$%servername%.

Cause
After recovery of the DPM server to new hardware. The account ‘%servername%\DPMR$%servername%. doesn’t have the correct mappings for the DPM database.

image

Solution

  1. Connect to the MSDPM2010 instance using SQL management dtudio
  2. Expand Security then expand Logins; right-click %servername%\DPMDBReaders$%servername% and select properties
  3. Select User Mapping in the left pane; in the upper right pane, under "Users mapped to this login:" verify DPMDB is selected; In lower right pane, ensure db_datareader and public are both selected; click OK

image

  • An error has occurred during report processing. (rsProcessingAborted)
    • Cannot impersonate user for data source 'DPMReporterDataSource'. (rsErrorImpersonatingUser)
      • Log on failed. Ensure the user name and password are correct. (rsLogonFailed)
        • Logon failure: the user has not been granted the requested logon type at this computer

To resolve this error, you must ensure that the DPMReport account has the Allow log on locally user right.

To assign the Allow log on locally user right to the DPMReport account:

  1. In Administrative Tools, open Local Security Policy.

  2. Under Security Settings, expand Local Policies, and then click User Rights Management.

  3. In the details pane, right-click Allow log on locally and then right-click Properties.

  4. In the Allow log on locally Properties dialog box, click Add User or Group.

  5. In the Select Users, Computers, or Groups dialog box, click Locations, click the name of the DPM server, and then click OK.

  6. In the Select Users, Computers, or Groups dialog box, enter DPMReport, and then click OK.

  7. In the Allow log on locally Properties dialog box, click OK.

  8. In the details pane, right-click Deny log on locally and then right-click Properties.

  9. If the DPMReport account is listed, select DPMReport and then click Remove

1 comment:

  1. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.Joyce
    paper products

    ReplyDelete