Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > SQL Language
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 16th, 2007, 08:34 AM
Friend of Wrox
 
Join Date: Dec 2006
Location: , , .
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:02 AM.


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