WEB CONFIG

Discussion in 'Databases' started by Bruce, Jan 27, 2006.

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

    Bruce DiscountASP.NET Staff

    well.. this depends on how you code your application?

    if you are pulling your connection string out from the web.config file's appsetting section, then you most likely need to update the database connection string.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. Hello, a new user of discount asp. Im setting up our database and trying to connect to it. I'm wondering if their is anything special that needs to be done in the web.config file?
     
  3. Ok. Well, I used SQL express 2005 for the backend. I also ran scripts to create my tables in the database. I'll show you an example of my connection string.....

     
  4. Bruce

    Bruce DiscountASP.NET Staff

  5. Ok. Thank you. I did all the above. Fixed the web.config file. It's really frustrating...I thought db connectivity would be a lot simpler. Of course this is the first time using sql server 2005. Now, i get the sql server does not exist or access denied error. I even tried using the owner account and pw, changing pw's. I dont know whats going on. Any ideas.
     
  6. Bruce

    Bruce DiscountASP.NET Staff

    This error usually means that the application is not able to connect to the SQL server (usually a wrong name was supplied)

    Are you running this application on your local computer or our web server?

    Bruce

    DiscountASP.NET
    www.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