Saturday, February 12, 2011

Re: [android-developers] exception while accessing MS SQL 2005 express using JDBC

Looks like the driver wants to use an SSL socket in non-blocking mode,
and Android networking code (taken from Apache Harmony) doesn't support it.

You could try setting "encrypt=false", or, if that's not acceptable,
find another way to access the database (e.g. a web service).

-- Kostya

04.02.2011 7:55, Niket пишет:
> "com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not
> establish a secure connection to SQL Server by using Secure Sockets
> Layer (SSL) encryption. Error: "Unable to make socket non blocking"."


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment