问题描述
我正在尝试与Crystal Reports中的JDBC(JNDI)建立连接,并且出现以下错误:
I am trying to make a connection to JDBC(JNDI) in Crystal Reports and I get the following error :
提供了无效的参数.
详细信息:Java Server启动失败.请验证CRConfig.xml文件中的PATH(JDK),CLASSPATH和IORFileLocation属性.此外,请确认您使用的是JDK 1.4.
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.4.
我正在使用连接器:mysql-connector-java-5.1.6-bin.jar,jDK 1.6.
I am using the connector : mysql-connector-java-5.1.6-bin.jar, jDK 1.6.
谢谢!
推荐答案
我终于找到了问题!
出于某种原因,与IORFileLocation关联的目录(对我来说是C:\ Windows \ temp)为readOnly.
因此,问题已解决.
还是谢谢你!
I finally found the problem!
The directory associated to IORFileLocation (which is C:\Windows\temp for me) was for some reason readOnly.
So, problem fixed.
Thank you, anyway!
这篇关于水晶报表-与JDBC的连接失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!