Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Program in Client side is not working

Program in Client side is not working

Scheduled Pinned Locked Moved C#
sysadminsecurityhelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Said Ali Jalali
    wrote on last edited by
    #1

    :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

    P 1 Reply Last reply
    0
    • S Said Ali Jalali

      :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

      P Offline
      P Offline
      Paulo Zemek
      wrote on last edited by
      #2

      Is the server name correct? Have you tried using TCP/IP address instead of server name?

      S 1 Reply Last reply
      0
      • P Paulo Zemek

        Is the server name correct? Have you tried using TCP/IP address instead of server name?

        S Offline
        S Offline
        Said Ali Jalali
        wrote on last edited by
        #3

        :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

        P 1 Reply Last reply
        0
        • S Said Ali Jalali

          :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

          P Offline
          P Offline
          Paulo Zemek
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups