1811873 - Error: 'An error has occurred in the script on this page. Line: 23 Char: 1 Error: Library not registered' when refreshing a report in Crystal Reports

SAP Knowledge Base Article - Public

1811873 - Error: 'An error has occurred in the script on this page. Line: 23 Char: 1 Error: Library not registered' when refreshing a report in Crystal Reports

Symptom

  • Parameter prompt generate an error.
  • When attempting to create a new parameter, the parameter Edit dialog window has warning text box floating around the window when resized, and the OK button disabled.
  • In Crystal Reports, when refreshing a report that contains at least one parameter, the prarameter prompt displays the following error:
        
      'An error has occurred in the script on this page.
       Line: 23
       Char: 1
       Error: Library not registered'

Environment

  • Crystal Reports 8
  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016

Reproducing the Issue

  1. Install Crystal Reports 8
  2. On the same computer, install Crystal Reports 2011 and above.
  3. Uninstall Crystal Reports 8
  4. In Crystal Reports 2011 and above, create a new report off any data source.
  5. Create new parameter, and notice the "OK" button is grayed out.

Cause

  • When uninstalling Crystal Reports 8, it removes registry permissions from certain registry keys, as the result Crystal Reports 2011 was not properly registered.
  • For more details, see the Microsoft Knowledge Base Article 268553

Resolution

  • To resolve the registry key rights issue:
            
    1. Download the Crystal Reports 8 registry key rights fix by clicking here     
              
    2. Execute the Crystal Reports 8 registry key rights fix.
         
    3. Perform a Repair fore the installation of Crystal Reports 2011 or above.

Keywords

KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Bug Filed

Product

SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 8.0

Attachments

scr8_webregfix.exe