How Do I Configure SQL Server 2005 Backend?

How To access SQL Database from C# GUI?

  • I cannot access SQL database in c# GUI on my local machine I have configure and follow this step (Surface Area Configuration tool steps: Surface Area configuration for services and Connection Database Engine > Remote Connection In there I change to Local and Remote And choose both TCP/IP and Named Pipes it is the last option.) but still then I got this message: Error: Microsoft SQL Native Client: 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.

  • Answer:

    Can you connect to the DB via the Management Studio? If not, is the service running? If so, check your connection string. But I have seen this error for a variety of reasons. Could be a lot of things.

a4amyli at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.