Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006

    Unanswered: Connection String

    Can someone please tell me why my connection below is not working?

    using System.Data.OleDb;

    OleDbConnection conn = new OleDbConnection("Provider=SqlOleDb;Data Source=BLOOD;Initial Catalog=Test;");
    //Tried Above as ...;Initial Catalog= Test")

  2. #2
    Join Date
    Feb 2004
    In front of the computer
    Provided Answers: 54
    You need to install the database engine software (SQL Server, based on your connection string), and properly configure the server and the database before you can connect to them.

    Once you get your server setup you may get error messages. Those would help us a lot in futher diagnosing your problem(s)!


Posting Permissions

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