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 Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

DNN Installation - Connection to the Database Failed

Return to previous page

  • 12/26/2018
  • 1496 Views

Question:

Charu Bajaj 6 years ago

While doing DNN 9 Installation on Windows 10 Machine having Sql Server 2017, i get this error - connection to the DB Failed.

The connection strings are as follows -

<add name="SiteSqlServer" connectionString="server=(local);database=xx;uid=yy;pwd=zz;" providerName="System.Data.SqlClient" />

<add name="localSqlServer" connectionString="Data Source=.\sqlexpress;Integrated security=sspi; attachdbfilename = |DataDirectory|aspnet.mdf; User instance = true" providerName="System.Data.SqlClient" />

Where am i going wrong? Any help appreciated!

DNN Installation - Connection to the Database Failed

Charu Bajaj
Charu Bajaj 6 years ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member