Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Database connection problem - Help RequiredDatabase connection problem - Help Required
Previous
 
Next
New Post
1/3/2007 7:11 PM
 
Hi guys, another new user.  Just downloaded the install package on to a 2003 server.  installed sql express.  Followed instructions - created db & db user, assigned to new db (sql connection).  can log on to db using sql studio express so username / password and connection ok there. 
Added the Network Service user account and gave it full access at the root level.
Changed the sql string in both locations in the web config but still get the following.  Any ideas?

Error Installing DotNetNuke

Current Assembly Version: 04.04.00

ERROR: Could not connect to database specified in connectionString for SqlDataProvider

 
New Post
1/4/2007 7:25 AM
 
For info, I have also tried changing the (local) to 127.0.0.1 and also tried using the sa unsername & password, but still get the same error.

Any advice would be greatly appreciated.

web config settings posted below

 <add
      name="SiteSqlServer"
      connectionString="Server=(local);Database=DotNetNuke;uid=DotNetNukeUser;pwd=*****;"
      providerName="System.Data.SqlClient" />

<add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=DotNetNukeUser;pwd=*****;"/>
 
 
New Post
1/4/2007 11:15 AM
 
If you use SqlServer Express, shouldn't your connection string look something like

<add  name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" />

This is what I find in my web.config file.
 
New Post
1/4/2007 3:43 PM
 
Yep, I tried that but that doesn't work either.  I'm new to sql express and the connection string looks very different. 
Where/how do you insert the username / password as I'm using the sql authentication.

Regards,
Graham.
 
New Post
1/5/2007 8:37 AM
 
Take a look at this thread, it might hold the answer for you

http://www.dotnetnuke.com/Default.aspx?tabid=795&forumid=107&scope=posts&threadid=95767
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Database connection problem - Help RequiredDatabase connection problem - Help Required


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out