SAP Knowledge Base Article - Public

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


  • When attempting to connect to a 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"


  • Crystal Reports 2008
  • SAP Crystal Reports 2011


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


  • To resolve this issue, follow these steps:
    1. Check if the JAVA configured properly on the machine - use the following link:
      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 ( SAP Knowledge Base 1294023 )


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


SAP Crystal Reports 2011