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 ...Installation IssueInstallation Issue
Previous
 
Next
New Post
7/25/2007 8:11 PM
 

Hi guys,

I am having a problem with my installation. I have followed with, I believe, almost all of the different tutorials out there but am still stuck.

These are the steps that I took:

1. Download the "install" package from this website

2. Unzip it and put it in InetPub folder

3. Make a virtual drive for "DotNetNuke"

4. Created a database in SQL Server 2005 called "DotNetNuke"

5. Rename release.config to web.config

6. Edit the connection strings in web.config so that it would talk to SQL Server

7. Got to my browser and typed in "http://localhost/DotNetNuke/" and I got this message "Could not connect to database specified in connectionstrings for sqldataprovider"

I kept on getting that error message for several times. If anyone can help me with this problem, I would really appreciate it.

 

Heindy

 
New Post
7/26/2007 6:12 AM
 

step3: please do not mix up a virtual directory in IIS with a virtual drive in Windows!


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/26/2007 9:53 AM
 

It looks as thougth your connection string isn't using the correct id & password. Verify those are correct.


John Eimer
 
New Post
7/26/2007 10:15 AM
 

Jeimer,

I'm pretty new with SQL databases (been using MySQL my entire life), so I don't know if the connection string is correct or not. Below are the specs for my SQL server:

Server Name: TEST201\SQLEXPRESS (this is what I got when I open up SQL Server Management Studio Express)

Username: test (username and pwd were created in SQL Studio Express under security under Login)

Password: test

connection string: "Data Source=TEST201\SQLEXPRESS; Integrated Security=True; User Instance=True; uid=test; pwd=test; AttachDBFilename=|DataDirectory|Database.mdf;"

Please advise!

PS: And yes I'm sorry for using the term virtual drive, it should be virtual directory!

 
New Post
7/27/2007 3:13 PM
 

Since your server name is SQLEXPRESS, I surmise that you are in fact using SQLEXPRESS and NOT SQL2005.  So a simpler solution would be to use the SQL Server 2005 Express connection string:

<!-- Connection String for SQL Server 2005 Express -->
<add
name="SiteSqlServer"
connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
providerName="System.Data.SqlClient" />
<!-- Connection String for SQL Server 2000/2005

That way you do NOT have to create anything in SQL Server management Studio Express.

I suspect though that when you created your DotNetNuke DB in Studion Express that you didn't physically locate it in the |DataDirectory but rather it is located in the MS SQL default directory and so the connection string is not directing the DNN to the correct location.  The DNN Database.mdf is located in the Website\App_Data directory

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Installation IssueInstallation Issue


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