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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...SQL Connection error on known good SQL InstanceSQL Connection error on known good SQL Instance
Previous
 
Next
New Post
2/6/2012 2:56 PM
 

I went to install a clean instance of 6.1.3 a couple of days ago using Web Platform Installer and I have not been able to work around a SQL error in the installation wizard for 2 days. I am using a SQL Express instance on the same test machine, a 2008 R2 Server that is a member server in the domain. SQL Express 2008 R2 is installed and two other applications use this SQL Express instance and are running fine. I can connect locally and remotely to SQL Express. I have tried everything I can think of.

The error is:
Connection Error(s):
Index #: 0
Source: .Net SqlClient Data Provider
Class: 14
Number: 15382
Message:  

Any ideas on where to point me to solve this mystery?

TIA, Kent

 
New Post
2/6/2012 10:53 PM
 
Do you use trusted connection type in the web.config/connection string section? If yes, does your asp.net (ex. Network Services) account have access to DB?
 
New Post
2/7/2012 10:36 AM
 

Yes, I am using a trusted connection. I have attempted every combination of user permissions on the DB that I can think of, including grant the EVERYONE group full control as a test. All the usual suspects in this sort of issue that I can think of have been eliminated.

One thing I missed is that one the first page of the Wizard I get the error:

The Auto option has been disabled as the DotNetNuke Application cannot connect to a valid SQL Server database. You can continue to use either of the other two Wizard options and configure the Database settings at the appropriate Wizard step. 

 
New Post
2/7/2012 12:48 PM
Accepted Answer 

I have solved this. I went to attach the DB using SQL Management Studio and got an error for missing files. The path it was expecting this file to be located in C:\DotNetNuke_Build\Website\App_Data\Database2.mdf. I had completely forgotten about this issue. I created a new empty DB named DotNetNuke in the App_Data folder and everything worked.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...SQL Connection error on known good SQL InstanceSQL Connection error on known good SQL Instance


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