Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Crytal Reports and Salesforce Error message

I have the following applications loaded

Java: Java Plug-in 1.6.0_07

Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM

Crystal Reports: Crystal Reports 2008 12.0

Driver: Salesforce Driver 3.0

Everytime I try to connect crystal reports thru salesforce I get the following error message:

Invalid argument provided, java server startup failure, verify the path (jdk), classpath,and IORfilelocation in the crconfig.xml file, In addition verify you are using JDK 1.5

I have tried backing up the Crconfig.xml file, and then deleting it, then deleting any old drivers I had and loading the SFDC 3.0 Driver, that did not seem to work. I also have removed crystal reports and downloaded again, that didnt seem to work either. I have also searched this forum for similar issues to no avail

Here is what the CRconfig.xml file looks like on my machine (note - I took out the product key code for security reasons)

<?xml version="1.0" encoding="utf-8" ?>

<CrystalReportEngine-configuration>

<reportlocation>../..</reportlocation>

<timeout>10</timeout>

<ExternalFunctionLibraryClassNames>

<classname />

<classname />

</ExternalFunctionLibraryClassNames>

<keycode>keycode</keycode>

<Javaserver-configuration>

<DataDriverCommon>

<JavaDir>C:\Program Files\Business Objects\javasdk\bin</JavaDir>

<Classpath>C:\Program Files\Business Objects\Common\4.0\java/lib/crlovmanifest.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRLOVExternal.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBJDBCServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBXMLServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBJavaBeansServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/external/CRDBXMLExternal.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/external/log4j.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/CRDBSForceServer.jar;C:\Program Files\Business Objects\Common\4.0\java/lib/external/CRDBSForceExternal.jar;$</Classpath>

<IORFileLocation>$</IORFileLocation>

<JavaServerTimeout>1800</JavaServerTimeout>

<JavaServerStartupTimeout>30</JavaServerStartupTimeout>

<JVMMaxHeap>64000000</JVMMaxHeap>

<JVMMinHeap>32000000</JVMMinHeap>

<NumberOfThreads>100</NumberOfThreads>

</DataDriverCommon>

<JDBC>

<CacheRowSetSize>100</CacheRowSetSize>

<JDBCURL />

<JDBCClassName />

<JDBCUserName />

<JNDIURL />

<JNDIConnectionFactory />

<JNDIInitContext>/</JNDIInitContext>

<JNDIUserName>weblogic</JNDIUserName>

<GenericJDBCDriver>

<Default>

<ServerType>UNKNOWN</ServerType>

<QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>

<StoredProcType>Standard</StoredProcType>

<LogonStyle>Standard</LogonStyle>

</Default>

<Sybase>

<ServerType>SYBASE</ServerType>

<QuoteIdentifierOnOff>OFF</QuoteIdentifierOnOff>

<DriverClassName>com.sybase.jdbc2.jdbc.SybDriver</DriverClassName>

<StoredProcType>Standard</StoredProcType>

<LogonStyle>MySQL</LogonStyle>

</Sybase>

</GenericJDBCDriver>

</JDBC>

<XML>

<CacheRowSetSize>100</CacheRowSetSize>

<PreReadNBytes>4096</PreReadNBytes>

<MaxCacheXMLSize>153600</MaxCacheXMLSize>

<XMLLocalURL />

<SchemaLocalURL />

<XMLHttpURL />

<SchemaHttpURL />

<RepositoryPath>C:\Program Files\Business Objects\Common\4.0\java/lib/external</RepositoryPath>

<ExternalNamespace>C:\Program Files\Business Objects\Common\4.0\java/xsd/wsdl.xsd;C:\Program Files\Business Objects\Common\4.0\java/xsd/wsdl_encoding.xsd</ExternalNamespace>

<SocketTimeout>60000</SocketTimeout>

</XML>

<JavaBeans>

<CacheRowSetSize>100</CacheRowSetSize>

<JavaBeansClassPath />

<CallBackFunction>CrystalReportsLogoff</CallBackFunction>

</JavaBeans>

<SForce>

<CacheRowSetSize>100</CacheRowSetSize>

<QueryBatchSize>2000</QueryBatchSize>

<SocketTimeout>600000</SocketTimeout>

<UseProxy>FALSE</UseProxy>

<ProxyAddress />

<ProxyPort />

<BatchLookupCacheJoinSize>200</BatchLookupCacheJoinSize>

</SForce>

</Javaserver-configuration>

</CrystalReportEngine-configuration>

Any help would be greatly appreciated!

Not what you were looking for? View more on this topic or Ask a question