SAP Knowledge Base Article - Public

1205429 - Error: 'An error has occurred in the script of this page', when opening Crystal Reports

Symptom

  • Error: "An error has occurred in the script of this page."
  • When starting Crystal Reports, it displays a script error message like:
      
    "An error has occurred in the script of this page.
      Line: 10371
      Char: 9
      Error: Object doesn't support this property or method.
      Code: 0
      URL: http://go.sap.com/etc/designs/sapdx/clientlib-all.js
           
      Do you want to continue running scripts on this page?"
       
      StartPageIssue2.png

     

Environment

  • SAP Crystal Reports 2008
  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016

Reproducing the Issue

  1. Open Crystal Reports.
  2. After some time, it will display an error message like:
      
    "An error has occurred in the script of this page.
      Line: 1
      Char: 5886
      Error: Expected ","
      Code: 0
      URL: http://drh.img.digitalriver.com/DRHM/Storefront/Site/bobjects/cm/multimedia/js/tracking/omniture/mbox.js
           
      Do you want to continue running scripts on this page?"

Cause

  • When opening Crystal Reports, it display a Start Page that displays dynamic information.
  • The script errors occurs when the server where Crystal Reports Start Page exist is experiencing an issue.

Resolution

  • This SAP Knowledge Base Article is updated if there is an issue related to the Start Page server.
      
                               
  • If you are experiencing an issue, clear the MS Internet Explorer Cache, and restart Crystal Reports.
            
    1. In Internet Explorer, select Tools (via the Gear Icon) -> Internet Options 
        
    2. In the "Internet Options" window, under the tab "General", click on the "Delete" button in "Browsing history" 
        
    3. In the "Delete Browsing History" window:
      • Uncheck Preserve Favorites website data 
      • Check Temporary Internet Files and website files
      • Check Cookies and website data
          
        IE - Cache.png
           
    4. Click "Delete"
             
    5. Start Crystal Reports.
             
             
  • If you are still experiencing a similar error message with the Crystal Reports Start Page after clearing the cache, and there is no update in this document about it, then contact SAP Product Support to report the issue.
                  
          
    History:
    • 2019/09/20 - There was an issue with the Start Page Server, which was resolved on the same day in the evening of 2019/09/20
    • 2015/01/21 - There was an issue with the Start Page Server, which was resolved on 2015/01/23
    • 2014/11/19 - There was an issue with the Crystal Reports Start Page Server on 2014/11/19 for few hours, and was resolved on the same day.
    • 2014/10/15 - There was an issue with the Crystal Reports Start Page Server in 2014/10/15, which was resolved on 2014/11/03.

Keywords

Start Page, CR, script error , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016