0

我开发了一个 SUP HWC 应用程序(适用于 iOS)来使用存储过程从 SQL Server 2005 中获取数据。在 SUP 工作站中,我可以在创建 MBO 时看到预览。我在 Sybase 控制中心部署了我的应用程序并能够查看应用程序。直到现在一切正常:)

当我从 iPhone 模拟器获取数据时,出现以下错误:

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

我正在尝试通过以下方式清除错误:

http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bd5bb6c2-a4d9-4071-b2e6-a6c83970b212/commicrosoftsqlserverjdbcsqlserverexception-the-tcpip-connection-to-the-host-has-failed

在哪里,启用VIA协议的说法。我启用了它并重新启动了SQL服务器服务......并得到以下错误:

The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details.

我正在尝试通过以下链接解决此问题:

http://support.microsoft.com/kb/955768

其中,在 Method-2 point no-7 中它是这样说的:

Right-click VIA, and then click Properties. In the Listen Info box, type a connection affinity mask that matches the configuration of the computer, and then click OK.

我的问题是,如何在计算机配置中找到连接关联掩码。

这是我的系统详细信息:

1. i7 Processor(having 8 processors) with 64 bit win7 OS.
2. My iPhone emulator is running on virtual MAC(on point-1).

请帮忙。谢谢。

4

1 回答 1

0

Well.The service is started for me by making connection affinity mask as [0xAA] in the setting. :) But, still I'm not able to access my SQL server Database from iPhone HWC application(made by SUP tool) and getting same error:

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

Any clue??

于 2013-07-25T06:24:13.617 回答