DNN: No connection with database

Discussion in 'Third-party applications' started by saamu, Dec 22, 2006.

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

    I tried DNN for first time. I had upload DNN now, does the things as FAQ´s manual.

    I have database:
    Servername: sql2k506.discountasp.net Databasename: SQL2005_318402_database1 & login: SQL2005_318402_database1_user
    and in DNN I writed:

    connectionString='Server=sql2k506.discountasp.net;Database=SQL2005_318402_database1;uid=SQL2005_318402_database1_user;pwd=XXX;'

    But in my site it writed:
    ERROR: Could not connect to database specified in connectionString for SqlDataProvider

    What I do wrong?

    /Sam
     
  2. I connection stringsection in DNN is usually commented out i.e its between <!-- and -->. Check whether the connection string you specifed is not commented out.
    Also,I believe there are two seperate connection strings specifed (one for SQL Express and other for SQL 2000/2005).Comment the one for SQL Express or get rid of it and uncomment the other one w/ the correct values.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. I´m sorry I didn´t write correct. I Write in 2 strings. It stills write it couldn´t have connect with the database.
    I used the informations from DiscountASP.NET.
     
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