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 ...Problem with installing 4.3...Problem with installing 4.3...
Previous
 
Next
New Post
6/15/2006 7:45 AM
 
I get this error on my windows xp sp2 machine. Im running both SQL2005 och SQLexpress on that comp but I would like to use sql express to start with. I haven't change anything but the filename to web.config. Is there any other step I must do?

Im running it via VS2005 and IIS.

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


 
New Post
6/15/2006 8:27 AM
 
check the database connection strings inside the web config

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/15/2006 2:29 PM
 

I have given up using the SQL express and tried using standard SQL server 2005.
I have a user 'dotnetnuke' that is dbo in the database 'DotNetNuke' and that database have are using both SQL and Windows authentication.

And I still get :

Error Installing DotNetNuke

Current Assembly Version: 04.03.00

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

Here's what I have in my web.config amd yes the pwd is correct

<connectionStrings>

<!-- Connection String for SQL Server 2005 Express -->

<!--

<add name="SiteSqlServer" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=\App_Data\Database.mdf;Integrated Security=True;"/>

-->

<!-- Connection String for SQL Server 2000/2005 -->

<add

name="SiteSqlServer"

connectionString="Server=(local);Database=DotNetNuke;uid=dotnetnuke;pwd=nukem;" />

<!-- -->

</connectionStrings>

<appSettings>

<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules -->

<!--

<add key="SiteSqlServer" value="Data Source=.Data Source=.\SQLEXPRESS;AttachDbFilename=App_Data\Database.mdf;Integrated Security=True;User Instance=True;"/>

-->

<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules -->

<add key="SiteSqlServer" value="Server=;Database=DotNetNuke;uid=dotnetnuke;pwd=nukem;"/>

<!-- -->

 
New Post
6/15/2006 3:31 PM
 
The connectionstring name is not "DotNetNuke" it is "SiteSqlServer"

Change it both in and in in web.config.
 
New Post
6/15/2006 3:36 PM
 
I note that the Server= parts are different (local) in one and an empty string in the other.  I sometimes find that I need to use the machinename explicitly on my local computer.

Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem with installing 4.3...Problem with installing 4.3...


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