Developed a SUP HWC application that will fetch data from SQL server 2005 using stored procedure.
Application deployed successfully to the server.And I'm able to view the application from my iPhone simulator.But, when I'm trying to retrieve the data on click of a menu,getting following error.
"Error code 503 com.microsoft.sqlserver.jdbc.sqlserverexception the tcp/ip connection to host failed"
I changed my settings as per this:
http://stackoverflow.com/questions/11820799/com-microsoft-sqlserver-jdbc-sqlserverexception-the-tcp-ip-connection-to-the-ho com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed
But, still getting same error.Please help.Thanks.
Note: I have virtual MAC(where iPhone simulator is running) on my windows 7 PC.And,for JDBC driver...
C:\\Sybase\UnwiredPlatform\\MobileSDK213\\Unwired_WorkSpace\\Eclipse\\sybase_workspace\\mobile\eclipse\\plugins\\com.sybase.uep.com.sqlserver_126.96.36.199205181305\lib -> Please JDBC driver C:\\Sybase\\UnwiredPlatform\\Servers\\UnwiredServer\\lib\\3rdparty -> Place JDBC driver