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 ...Windows 8, IIS 8.0, SQL Server 2012, DNN 07.00.03Windows 8, IIS 8.0, SQL Server 2012, DNN 07.00.03
Previous
 
Next
New Post
2/14/2013 6:21 AM
 

Hello,

I'm trying to install DNN for the first time and I've been stuck for two days by now, not being able to connect to the database. Can anyone provide step-by-step instruction on how to do it on the configuration mentioned in the subject?

 Here's what I tried so far:

  1. Downloaded  DotNetNuke_Community_07.00.03_Install.zip and extracted to C:\inetpub\wwwroot\DotNetNuke. The security properties on this folder contains IIS_IUSRS with Read & Execute, Read, List folder contents and Write permissions allowed. I've also set Full control permissions to NETWORK SERVICE user. Directories above (C:\inetpub and C:\inetpub\wwwroot) have Read & execute, List folder contents and Read permissions for these two users as well.
  2. In IIS Manager I've converted the DotNetNuke directory to an Application and assigned DefaultAppPool to it. DefaultAppPool's identity is set to NetworkService. In Authentication I have Anonymous Authentication enabled and set credentials to Application pool identity. Also Forms Authentication and Windows Authentication are enabled (there's an alert about challenge-based authentication can't be used simultaneously, which I can get rid of by disabling Forms Authentication but it doesn't help either).
  3. So far so good, I can access installation page in the browser through localhost/DotNetNuke. Here's where the problem starts. In SQL Server Management Studio I connect to '.' (local, unnamed instance of SQL Server 2012 - NOT EXPRESS!) and create new database called DotNetNuke. I added new Login NT AUTHORITY\NETWORK SERVICE and set it as the owner of the database (I tried with <default> and it didn't help either) by mapping it to DotNetNuke as dbo.
  4. In the installation page of DNN I've set Database Setup to Custom, Database Type to SQL Server, Server Name to '.\MSSQLSERVER' (without quotes), Database Name to DotNetNuke, Security to Integrated and Run Database As 'Database Owner'. When I press Continue it says Veryfying Database Connection... for few seconds after which it fails with
ERROR:Index #: 0
Source: .Net SqlClient Data Provider
Class: 20
Number: 87

Message:

Any help would be greatly appreciated because I'm running out of ideas for, now already random configuration changes to make this work. Thanks in advance!

 
New Post
2/15/2013 12:52 AM
 
Hi,

Most probably SQL database user does not have proper access to DNN database. Connect from SQL Server Management Studio with its credentials and see if you can expand the database.

Check out Installing DotNetNuke on developer machine section for details steps on how to install DNN 7 on Windows 8. It always worked for me.

-Feodor
 
New Post
2/15/2013 8:41 AM
 
Thanks for your response! In the meantime I've installed successfully DNN with SQL Server Express 2012 to experiment with the framework itself. However for the production version we will need to use SQL Server 2012 Enterprise Edition. So, before I start again with the installation process I'd only like to make sure that you don't mean installing it on Express (where the database is stored in a single file in DNN site directory and things seems to work fine) but on full version of SQL Server? Because that's where the distinction causing the problems is, I guess...
 
New Post
2/16/2013 3:22 PM
 
Yes, in my instructions the database is not "attached" though SQL Server Express edition has been used. I'm not a fan of storing database files in App_Data folder ;)
 
New Post
2/17/2013 1:41 PM
 
Don't use the network service account as the DB user. Create a fresh one, make it DBO and use those credentials for your DNN website.

Mark
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Windows 8, IIS 8.0, SQL Server 2012, DNN 07.00.03Windows 8, IIS 8.0, SQL Server 2012, DNN 07.00.03


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