java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]The hexadecimal string
今天在其他系统上 添加了一个查询页面
单纯的一个jsp页面 从数据库一个表中 读出一些数据做展示 然后单击有附件的 下载 其中的image字段!
在自己的机器上和一个同事的机器上均运行正常 但是放到服务器上出现了下面这个问题
java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]The hexadecimal string is invalid.
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseData.stringToBytes(Unknown Source)
at com.microsoft.jdbc.base.BaseData.convertToByteArray(Unknown Source)
at com.microsoft.jdbc.base.BaseData.convert(Unknown Source)
at com.microsoft.jdbc.base.BaseData.getData(Unknown Source)
at com.microsoft.jdbc.base.BaseResultSet.getBytes(Unknown Source)
at com.microsoft.jdbc.base.BaseResultSet.getBytes(Unknown Source)
at _document._document_0list__jsp._jspService(/document/document_list.jsp:232)
at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
at com.caucho.jsp.Page.subservice(Page.java:506)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
at com.caucho.server.http.Invocation.service(Invocation.java:315)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:170)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:619)
请了解 此问题的大大们 指点下 谢谢