From my Windows Application How Do I connect my SQL Server DATABASE in discountasp

Discussion in 'Databases' started by greatforexs, Mar 15, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. From my Windows Application How Do I connect my SQL Server DATABASE in discountasp
     
  2. I'm working on a series of Tutorial videos for this right now...

    If you give me an idea of what you're using it will help, you and me. [​IMG]

    Do you have a local copy of SQL Server?
    Salute,
    Mark
     
  3. Yes, I have a local copy of the SQL Server. I want to add and edit data via windows application on discountasp server
     
  4. OK, I'll do my best to have that video ready today.
    For the example I'll be using SQL Server 2005 on Vista.
    Salute,
    Mark
     
  5. I got the following error message:

    TITLE: Connect to Server
    ------------------------------

    Cannot connect to tcp:sql2k501.discountasp.net.

    ------------------------------
    ADDITIONAL INFORMATION:

    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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)

    For help, click: http://go.microsoft.com/fwlink?Prod...r&EvtSrc=MSSQLServer&EvtID=10061&LinkId=20476

    Please help. Thanks!
     
  6. That is the default behavior under security settings however you can easily make the needed changes:
    http://support.microsoft.com/kb/914277

    For XP and Vista it also helps to pin the SQL Server Config tools so you can access then quickly.
     
  7. Bruce

    Bruce DiscountASP.NET Staff

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page