sqlserverexception到主机的tcp

sqlserverexception到主机的tcp

本文介绍了错误代码503 com.microsoft.sqlserver.jdbc.sqlserverexception到主机的tcp/ip连接失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

开发了一个SUP HWC应用程序,该应用程序将使用存储过程从SQL Server 2005中获取数据.

Developed a SUP HWC application that will fetch data from SQL server 2005 using stored procedure.

应用程序已成功部署到服务器.我可以从iPhone模拟器中查看该应用程序.但是,当我尝试单击菜单来检索数据时,出现以下错误.

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.

错误代码503 com.microsoft.sqlserver.jdbc.sqlserverexcept到主机的tcp/ip连接失败"

"Error code 503 com.microsoft.sqlserver.jdbc.sqlserverexception the tcp/ip connection to host failed"

我按此更改了设置:

com.microsoft.sqlserver .jdbc.SQLServerException:与主机localhost端口1433的TCP/IP连接失败

但是,仍然出现同样的错误.请帮忙.谢谢.

But, still getting same error.Please help.Thanks.

注意:我的Windows 7 PC上有虚拟MAC(运行iPhone模拟器的地方).

Note: I have virtual MAC(where iPhone simulator is running) on my windows 7 PC.

推荐答案

好,我的问题解决了……当我在客户端VPN中时,我获得了另一个IP地址.现在,我映射到了客户端VPN生成的IP地址它的工作就像冠军...:)

Well, My problem got solved...As I was in client VPN, I got a different IP address.Now, I mapped to client VPN generated IP address and its working like a champ... :)

这篇关于错误代码503 com.microsoft.sqlserver.jdbc.sqlserverexception到主机的tcp/ip连接失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-06 03:11