Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error messages when you try to print a report in Microsoft Dynamics SL: "Microsoft Visual C++ Runtime Library Runtime Error" and "System Message 7011"


Symptoms

When you try to print a report in Microsoft Dynamics SL 7.0, you receive the following error messages.

Error message 1
Microsoft Visual C++ Runtime Library
Runtime Error!

Program:
The application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more information.
Error message 2
System Message 7011- ROI Get RIPARAM failed for CRPERC. Error=.
Error message 3
System Message 7011 - ROI Get RIPARAM failed for CRPEMSGCNT. Error=.

↑ Back to the top


Cause

The MSDSL application role or the E7F575915A2E4897A517779C0DD7CE SQL user is not correctly synchronized with the Microsoft Dynamics SL databases. Or, both the role and the user are not correctly synchronized. This situation can occur if the following conditions are true:
  • You run the "Synchronize All Ownership and Security" update scenario in the Database Maintenance (98.290.00) screen.
  • The Database Maintenance (98.290.00) screen is from an earlier version of Microsoft Dynamics SL.
  • You run the update scenario on any database that exists on the same instance of SQL Server as a Microsoft Dynamics SL 7.0 database.

↑ Back to the top


Resolution

Note Before you follow the instructions in this article, make sure that you have a complete backup copy of the database that you can restore if a problem occurs.

To resolve this problem, follow these steps:
  1. Use SQL Server Management Studio to run the following statement against the Microsoft Dynamics SL system database:
    DELETE FROM RPTExtra
  2. Run the "Synchronize All Ownership and Security" update scenario in the Database Maintenance (98.290.00) screen.

↑ Back to the top


Keywords: kberrmsg, kbexpertiseadvanced, kbtshoot, kbprb, kbmbspartner, kbmbsmigrate, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 946630
Revision : 2
Created on : 2/2/2017
Published on : 2/3/2017
Exists online : False
Views : 85