Connection problem

Discussion in 'Databases' started by mary.a.b, Mar 28, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. To wisemx...
    I had posted my problem under the wrong thread. You asked for my connection string info. Here is the connection string below. I am wondering if I went astray


    when I uploaded the detacheddatabase file into App_Data?
    The instructions say to upload it to your website, and then attach it, but they don't say where.

    Iamnot using sql express. Last year, when I first set this up, I was using sql express.




    <connectionStrings>


    <add name="datacollectConnectionString" connectionString="Data Source=tcp:sql2k502.discountasp.net;Initial Catalog=SQL2005_222395_alwaysthere;User ID=SQL2005_222395_alwaysthere_user;Password=********;" providerName="System.Data.SqlClient"/>


    <remove name="LocalSql2005Server"/>


    <add name="LocalSql2005Server" connectionString="Data Source=LAPTOPJR;Initial Catalog=datacollect;Integrated Security=True" providerName="System.Data.SqlClient"/>





    </connectionStrings>


    Thanks for any help...
     
  2. THANKS - it did not work right then, but gave me the clue I needed!!! Now it is working.
     
  3. Woohoo [​IMG]
    Glad you got it working, good job. [​IMG]
     
  4. Hi,


    Can someone tell me how they fixed the connection problem. I am getting the same problem and I changed my web.config file , still iget the same error message.
     
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