• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 528
  • Last Modified:

Error Installing DotNetNuke

I need to create website (internat) using DNN when I started doing the DNN installation using explorere, this massage appeared

Error Installing DotNetNuke
Current Assembly Version: 03.03.07
ERROR: Could not connect to database specified in connectionString for SqlDataProvider

Any Idea?
2 Solutions
You have a release.config file in your root directory. Its name needs to be changed to web.config. In this file you will need to change all of your connection settings. There are a couple of places you need to change it, but if your SQL database is local you'll want to be careful declaring it:
<add key="SiteSqlServer" value="Data Source=dbservernamegoeshere;Initial Catalog=DotNetNuke;User ID=sa;Password=pw" />
I found it easiest to just add the server name as the data source even if it is a localhost. It details the information in the comments in the page, one for sql express and one for sql server.

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Tackle projects and never again get stuck behind a technical roadblock.
Join Now