Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > SQL Language
|
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 16th, 2007, 08:34 AM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default connect ti others computer

hi expert
my program must be have to use on network (lan network)
my client ip address is 192.168.100.2 and my server ip is 192.168.100.1
when i connect to my computer (client with 192.168.100.2 IP address) i son't have any problem
i use this connection string

Code:
Sqlconnection con =new SqlConnection("server=192.168.100.2;database=test;user id=mk;password =123456");

my data base of permission user(mk) was show successfully
but when i want to connect to server by changing the IP address to 192.168.100.1 i recive flowing error

Code:
timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding
note : on the server in the enterprise i declare user "mk" and i set the permission for it

note : when i use the above steps on the local machine i don't have any prolem
my problem was oqure when i use the server

please help
regards





Similar Threads
Thread Thread Starter Forum Replies Last Post
How ti bind data in dropdownlist? aaronabdiel ASP.NET 2.0 Basics 1 February 11th, 2008 09:28 PM
Connect to SQL Sever in a local computer alirezaaali SQL Server 2000 6 August 14th, 2006 05:27 AM
TI-83 Ion for Windows reverand Assembly Language 0 May 10th, 2006 11:39 AM
connect to <computer> miguel.ossa ASP.NET 1.0 and 1.1 Basics 4 January 20th, 2004 09:53 AM
How to connect to another computer via a LAN w/VB PrivateHudson VB How-To 0 December 12th, 2003 12:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.