SQL connection strings

Discussion in 'Databases' started by ch99, Oct 17, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I cannot connect to my sql2000 dbase with the following string:

    StrConn="Driver={SQLServer};Server=mssql02.discountasp.net;Database=DB_292589_ufcpp;Uid=DB_292589_ufcpp_user;Pwd=xxxx;"

    I get a "Data source not found " error.

    Using the Provider method:<!--StartFragment --> Provider=SQLOLEDB;Data Source=Your_Server_Name;Initial Catalog= Your_Database_Name;UserId=Your_Username;Password=Your_Password; gives me a "elements not valid" error.

    I'm wondering if the username "DB_292589_ufcpp_user" discountasp assigned me is bad, but it works when I connect to the MyLittle sql manager.

    ???
     
  2. Bruce

    Bruce DiscountASP.NET Staff



  3. ASP for right now( but eventually I will be using some .net )


    thanks
     
  4. 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