Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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_2.1.3.201205181305\lib   -> Please JDBC driver

C:\\Sybase\\UnwiredPlatform\\Servers\\UnwiredServer\\lib\\3rdparty -> Place JDBC driver

asked 25 Jul '13, 04:55

Bapi's gravatar image

Bapi
1112
accept rate: 0%

edited 25 Jul '13, 13:28

Breck%20Carter's gravatar image

Breck Carter
32.5k5417261050

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×125
×103
×20
×5
×3

question asked: 25 Jul '13, 04:55

question was seen: 2,565 times

last updated: 25 Jul '13, 13:28