Noora
Noora

Reputation: 319

Connection To The Database Failed in DNN

I am trying to install DotNetNuke, I created a virtual machine with Window Server 2008, and followed the video series to install DotNetNuke.

When I run the InstallerWizard I am getting this error: "Connection To The Database Failed"

Note that when I didn't find the account iss apppol/dnndev.me so I added my virtual login account as a database owner, I even created an account but still nothing.

I am frustrated with this, I've spent 3 days trying to solve it, as I don't know a lot in IIS.

Upvotes: 5

Views: 15010

Answers (4)

Mohamad Dirieh
Mohamad Dirieh

Reputation: 13

No . this 2024 and when you see that Error ,it means you have to download SQL Express. it fixes the issue

Upvotes: 0

Imran Athar
Imran Athar

Reputation: 467

Change your Application Pool Identity as NetworkService

Open IIS (Run-> inetmgr) and follow the steps from screenshot below.

IIS -> Change Application Pool Indentity for DNN Site

Upvotes: 0

live-love
live-love

Reputation: 52484

Had the same error when I was trying to set up the website locally. Mine was due to the user identity in the Application Pool was wrong. This is what I did to solve it:

1) In IIS, go to your site, click on Basic Settings, or Advanced Settings, and find the Application Pool name.

2) In IIS, under Application Pools tree branch on the left, select your site's Application Pool, and click on it.

3) Click on Advanced Settings, then click on Identity. Set the account's user name and Password.

Upvotes: 0

Ashish
Ashish

Reputation: 1171

Are you trying to setup using SQL server express? In case of express version, I suggest you setup AppPool identity as ApplicationPoolIdentity and have "Load User Profile" as "True".

Upvotes: 0

Related Questions