SAP Knowledge Base Article - Public

1516976 - Error: "Invalid Argument provided. Details: Java Server startup failure." when connecting to salesforce.com from Crystal Reports

Symptom

  • When attempting to connect to a Salesforce.com from Crystal Reports, the following error message appears:
          
    "Invalid Argument provided.  Details: Java Server startup failure.
     Please verify the PATH(JDK), CLASSPATH and IORFileLocation properties in the CRConfig.xml file.
     In addition please verify you are using JDK 1.5"

Environment

  • Crystal Reports 2008
  • SAP Crystal Reports 2011
      
  • Salesforce.com

Cause

  • The error is caused by the Firewall configuration.
  • The Salesforce.com connection uses Java, and the Java.exe located in 'C:\Program Files\Business Objects\javasdk\bin' has been blocked.

Resolution

  • To resolve this issue, follow these steps:
          
    1. Check if the JAVA configured properly on the machine - use the following link:  https://www.java.com/verify/
      1. Close Crystal Reports
      2. Open the firewall settings
      3. Add a new rule for java.exe and permit Incoming as well as Outgoing connections
      4. Also create a rule for crw32.exe (Crystal Reports 2008) to permit Incoming as well as Outgoing connections
             
           
    2. Additionally verify the following:
      1. Verify there is a Crystal Reports keycode in the CRConfig.xml file. ( For Crystal Reports 2008 only )
      2. Java uses C:\Windows\Temp for .IOR file location, check the attributes of the temp folder and uncheck 'Read-Only' attribute
      3. Add the computer IP Address where Crystal Reports is installed, to the trusted IP range in salesforce.com. ( SAP Knowledge Base 1294023 )

Keywords

Java Server startup, Salesforce , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 2011