1
votes

I have been trying to install DNN 7 but it got stucked at the first step of installation. Giving the error "No valid default database connection detected. Standard Database setup option is unavailable Database Connection Error"

ERROR:Index #: 0 Source: .Net SqlClient Data Provider Class: 20 Number: 53 Message:

Anyone knows what to do?

3
what type of database are you using. is this a local installation or a remote installation. Need more info. - J King

3 Answers

2
votes

This occurs if you try to install DNN using SQL Express, but you don't have SQL express installed, or you don't have it installed with the default instance name.

You can do one of the following things.

1) Install SQL Express 2) Connect to a different database server.

0
votes

if you have already installed the database then go to SQL server and select Server Name = .\sqlexpress and open it. Once it opens, go to Security=>Logins=>Right Click on sa and select properties. It will open a dialog. Select Status=> and check Login Enabled.

0
votes

just because you are writing wrong server name! mostly you should delete "." before "/" mark like this : localhost\sqlexpress not localhost.\sqlexpress