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

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedDNN7 & SQL Server Express 2012 IssueDNN7 & SQL Server Express 2012 Issue
Previous
 
Next
New Post
11/18/2012 1:03 AM
 

Trying to get the RC of DNN7 to work (installed a test instance at http://dnn7.thehway.com). I installed SQL Server 2012 Express to run the instance, but I can't seem to connect to it. Here's the error:

ERROR:Index #: 0
Source: .Net SqlClient Data Provider
Class: 14
Number: 15350

Running IIS 7 on Windows Server 2008 R2. I did try editing the web.config file to reference a new database I created but no joy. I'm sure it's some sort of configuration issue, but I can't seem to find it.

 
New Post
11/18/2012 1:28 PM
 
your web server is not able to access sql server, make sure you enabled TCP/IP protocol for both, SQL server and client software.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/18/2012 4:08 PM
 

Thanks, Sebastian. Actually, I figured-out the problem; by default, the web.config file assumes that DNN7 is being installed on a local machine, while I was trying to install it on a remote server. Hence, I had to change the connection string from

<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|database.mdf;" providerName="System.Data.SqlClient" />

to

<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Initial Catalog=database;Integrated Security=True" providerName="System.Data.SqlClient" />

Hence, I not only had to remove the AttachDBFilename reference but the UserInstance parameter as well. Once I made these changes, DNN7 immediately found my database and installed--it's all working at http://dnn7.thehway.com. Wonderful!

 
New Post
12/3/2012 9:02 AM
 

Thanks

Sibabrata
Mindfire Solutions

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedDNN7 & SQL Server Express 2012 IssueDNN7 & SQL Server Express 2012 Issue


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