Results 1 to 3 of 3

Thread: Setting up SQL Server

  1. #1

    Thread Starter
    Hyperactive Member francisstokes's Avatar
    Join Date
    May 2005
    Location
    Kent, England
    Posts
    272

    Setting up SQL Server

    I just install SQL Server 2005, made a test database with one table, then made an app to connect and simply display the table in a datagrid, but i get the following error message:

    Code:
    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    Now, i went into the "SQL Server Surface Area Configuration" and allowed remote connects, but im still getting the message. Any ideas?

  2. #2

    Thread Starter
    Hyperactive Member francisstokes's Avatar
    Join Date
    May 2005
    Location
    Kent, England
    Posts
    272

    Re: Setting up SQL Server

    Im still having this problem if anyone can help.

  3. #3
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Setting up SQL Server

    I don't think many of us have enough experience with MS SQL 2005 yet to offer real help.

    I've got it installed on a server here - can connect with no problems.

    I've got it installed at a customer site and cannot get my VB apps to connect to it.

    This site might give you an answer:

    http://www.microsoft.com/technet/com...lserver.server

    If it does can you please post back here so we can all benefit from it - thanks!

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

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