Program in Client side is not working
-
:rose: Hi. I have program with SQLSERVER 2000.My Server Name is saved in text file in 'C:\Server.txt';and when program is started , program will read Server Name from text file. But when i start my program from (Remote computer in my network) it's not working.And an exception is shown "The Timeout period elapsed prior to completion of the operation or the server is not responding"; Is the problem in my network? or in program? And this is my Connection String:
"Data Source=" + Program.serverName + ";Initial Catalog=Nicco;Integrated Security=True";
Thank you. :rose:
CanI
-
:rose: Hi. I have program with SQLSERVER 2000.My Server Name is saved in text file in 'C:\Server.txt';and when program is started , program will read Server Name from text file. But when i start my program from (Remote computer in my network) it's not working.And an exception is shown "The Timeout period elapsed prior to completion of the operation or the server is not responding"; Is the problem in my network? or in program? And this is my Connection String:
"Data Source=" + Program.serverName + ";Initial Catalog=Nicco;Integrated Security=True";
Thank you. :rose:
CanI
Is the server name correct? Have you tried using TCP/IP address instead of server name?
-
Is the server name correct? Have you tried using TCP/IP address instead of server name?
:rose: Hi. Server Name is Correct.And my network is working well because when i write in 'Run' for example '\\Server' it respond and i can copy any file from client to server and also from Server to client. :rose:
CanI
-
:rose: Hi. Server Name is Correct.And my network is working well because when i write in 'Run' for example '\\Server' it respond and i can copy any file from client to server and also from Server to client. :rose:
CanI
But if you have a different network (different than TCP/IP) the \\Server will work, but the TCP/IP will not. Try using ping to see if it is working.