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 ...Configure Database Connection - canConfigure Database Connection - can't figure this out
Previous
 
Next
New Post
12/14/2010 5:28 PM
 
I am attempting to install DNN locally. I have created a database ("dotnetnuke") in SQL Server MGT Studio, and a user account ("dotnetnukeaccount"). The account is set up as the DB owner.

I keep getting connection errors when I try to establish the DB connection. Can anyone tell me if anything is obviously wrong with the following?

Server: localhost\SQLExpress (also tried the default ./SQLExpress)
Database: dotnetnuke.mdf
Integrated Security: (unchecked)
   Username: dotnetnukeaccount
   Password: *******
(I've also tried it with Integrated Security checked)

 
New Post
12/14/2010 7:12 PM
 
Check your connection string in your web.config:

http://www.connectionstrings.com/

Also make sure if you have unchecked enforce password policy on the user account in SQL Express when creating the account.

What is the exact error you are getting?
 

Thank you,
James Campbell
MCP,MCSA,MCSE,Sec +
http://jamesecampbell.blogspot.com
 
New Post
12/14/2010 9:20 PM
 
1. Make sure that you have enabled mixed mode authentication (i.e. Windows and SQL Authentication) in the properties for SQLExpress and that you are able to connect to the newly created (blank) database with SQL Server Management Studio using the same username and password combination you set up.

2. In this case the database name should be "dotnetnuke" not "dotnetnuke.mdf"

3. Leave Use Integrated Security unchecked in the DotNetNuke install wizard.

4. Most ususally if you did not provide an instance name when installing SQL Server Express, the Server or Data Source would be ".\SQLExpress". Note in particular that it is a back-slash not forward slash used here.

Here is a typical connection string for one of my localhost installs:

"Data Source=.\SQLExpress;Initial Catalog=DNN560Source;User ID=DNN560User;Password=DNN560Pwd"

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
12/15/2010 7:17 PM
 
I can't seem to establish a connection to my new DNN database. I can't access it through Visual Studio either. This has pointed me in the right direction. Thanks. I'll see if I can figure out what I did wrong.
 
New Post
12/15/2010 7:17 PM
 
I can't seem to establish a connection to my new DNN database. I can't access it through Visual Studio either. This has pointed me in the right direction. Thanks. I'll see if I can figure out what I did wrong.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Configure Database Connection - canConfigure Database Connection - can't figure this out


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