線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1445
推到 Plurk!
推到 Facebook!

請問有關使用SQLCONNECTION設定

 
MAUR_59434
一般會員


發表:1
回覆:1
積分:0
註冊:2006-07-06

發送簡訊給我
#1 引用回覆 回覆 發表時間:2006-08-17 07:14:47 IP:218.111.xxx.xxx 未訂閱
我目前使用interbase和Sqlconnection
當我在做client和sever連線時.client的電腦无法連上server
我在client放了,midas.dll,dbexprint.dll等檔案...但是一直連不上去...
我的設定是192.168.1.2:c:\database.gbd
可否幫我,因我找了很久都沒有解決的的方法.....
MAUR_59434
一般會員


發表:1
回覆:1
積分:0
註冊:2006-07-06

發送簡訊給我
#2 引用回覆 回覆 發表時間:2006-08-17 22:33:45 IP:60.49.xxx.xxx 未訂閱
天助自助者....
以下是解決方法...
希望可以幫到其他人
<!-- COL 1/2 -->
When the database is located on a computer with Windows XP, SP2, I get the following Win32 10060


The information in this article applies to :
A firewall is included with Windows XP. By default, it is not enabled. However, when installing the Service Pack 2, Windows automatically enable it and blocks access on port TCP/3050 (port used by You can just disable the Windows XP firewall (if you don't need it) to allow communications between NewWayService and the Interbase database. If you need that the firewall be enabled, then, just add an entry to indicate to Windows to allow communications on port TCP/3050.

How to disable the Windows XP firewall:
Go to the Windows control panel. Double-click on "Network connections", then double-click on your network connection. Click on the "Properties" button, select the tab "Advanced" then disable the box "Protect my computer and network". (If the Service Pack 2 is installed, click instead on the "Settings" button then disable the firewall from this dialog box).

How to add an entry in the Windows XP firewall to allow communications on port TCP/3050.
Go to the Windows control panel. Double-click on Network connections, then double-click on your network connection. Click on the "Properties" button, select the tab "Advanced" then click the "Settings" button. From the "Services" tab, click "Add" then enter 3050 in the "Port" field and select option "TCP". (If the Service Pack 2 is installed, select the "Exceptions" tab instead then click "Add port" to add the port number).

Notes:
This problem can also occur on any Windows version if a firewall is enabled on the computer where the database is located. In this case, refer to the documentation of your firewall to allow communication on the port TCP/3050.


系統時間:2024-05-19 16:12:14
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!