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

See Also

https://support.microsoft.com/en-us/topic/visual-studio-installation-problems-occur-if-crystal-reports-8-is-installed-401fab8d-9a18-d9d8-a8a6-40def093852f

Keywords

KBA , BI-RA-CR , Crystal Reports designer or Business View 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