Results 1 to 6 of 6

Thread: connect sql through lan or network

  1. #1

    Thread Starter
    Fanatic Member manhit45's Avatar
    Join Date
    May 2009
    Location
    Ha noi - Viet Nam
    Posts
    826

    Thumbs up connect sql through lan or network

    hi !

    Any one have document about connect sql database through lan please send me . i have finished solution with sql on a machine but i cant connect via lan network. i need them very much.

    hope your helps !
    Last edited by manhit45; May 3rd, 2009 at 10:56 PM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: connect sql through lan or network

    Connect to SQL Server from what? Please provide a full and clear description of the problem. Is this a VB6 app? VB.NET? C#? Something else?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: connect sql through lan or network

    Having said that, it really should be no different to how you're doing it now. Only the connection string will change. You need to specify the address of the server, whatever that might be. If your server is on the network then you need to specify the name or IP address of the machine it's running on, plus the instance name if there is one.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    Fanatic Member manhit45's Avatar
    Join Date
    May 2009
    Location
    Ha noi - Viet Nam
    Posts
    826

    Thumbs up Re: connect sql through lan or network

    i am using vb.net
    ok
    but when i change string connect it is error. i have turnoff firewall or set anything but not yet
    please send me document about that.
    thanks very mụch.

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: connect sql through lan or network

    If you're trying something and it's producing an error then you should have told us that, and you should have provided us with the error message. Error messages are provided as an aid to diagnosing issues. If you want us to diagnose the issue then we should be provided with that error message. We should also be provided with the actual code that your executing. If we know exactly what you're doing and exactly what happens then we can tell you exactly what the problem is and how to fix it.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6

    Thread Starter
    Fanatic Member manhit45's Avatar
    Join Date
    May 2009
    Location
    Ha noi - Viet Nam
    Posts
    826

    Re: connect sql through lan or network

    ok
    thanks
    i ll try connect again and send you my errror

    thanks for your help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width