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 ...Database connection error problemDatabase connection error problem
Previous
 
Next
New Post
2/15/2008 11:22 AM
 

Hello All,

I"m installing DNN 4.8 for the first time and I get past the "test file permissions" screen with green lights. But, when I get to the "test database connection" I get this error:

Connection Error(s):
Index #: 0
Source: .Net SqlClient Data Provider
Class: 20
Number: 2
Message: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Anyone have any clues what this is about?

Here are my settings:

Select Database: SQL Server 2000/2005 Database

Server: (local)

Database: DotNetNuke

Integrated Security: not checked (tried checked, too)

User ID: David

Password: [password]

Run as db Owner: not checked (tried checked,too)

Object Qualifier: [none]

Thanks for any assistance!

David Kaplan

 
New Post
2/15/2008 4:20 PM
 

Try checking your SQL server and see if you can connect to it (outside of dnn).

 
New Post
2/15/2008 10:36 PM
 

More details are needed actually I think.. Here are some ideas to check though.

From what I can tell though I'll give you some thoughts to look into.  I'm going to mention some obvious stuff also, do not take it personally, just lacking info I guess.

Most obvious.  Have you actually installed SQL server or are you assming it's installed with DNN?  

Have you put a blank database named DotNetNuke into your SQL install?

Is your SQL server configured for integrated security or the other....blanking right now...but plain ID and password non integrated?

I"m assuming, from what I see, you haven't  done much beyond installing SQL Server, and plopping DNN into IIS.

So, here is what I recommend to make your life easier.

Download this: SQLServer2005_SSMSEE.msi from Microsoft's Website.  this is a mangement tool to help you "visualize" Sql Server.  Rather than trying to do everything command line.

Log into your local SQL server install with this tool....this way you can tell if it's actually working also.  When you open SQL Managment Studio Express, you will HAVE to log in, and if your database is configured(the default SQL install) and working, it'll usually just put your SQL server in the drop down and ask you integrated or not login.  Try em both there...see what happens, and figure out which one works :->

If you log in, and dont' see a database called DotNetNuke, then make one....and remember the name you gave it, the name used on the login screen that it shows for a server, things like that.

If that doesn't work, SQL installs a default utility also, called SQL Server Configuration Manager.  This is differetn than managment studio express.  Config manager lets you pick what "protocols" people can connect to your SQL with.  Named pipes is what DNN uses.  So make sure that thing is on in the Config tool, and restart your services.

I"m not sure, how these settings on the page your looking at for database setup relate to the web.config file.  I know I put mine in manually in the web.config....but I'm assuming the page you are using from the installer sets it to the web.config...I may be wrong on that...

Anyhow thats a start...beyond that, dunno what else to tell you, other than.....if you have SQL installed, and it's a local copy(IE non production)...just select "automatic" for install method, and it'll use the local copy int he install folder for a database file..but you still have to have SQL installed FYI.

 

Let us know what you figure out the problem was so others can learn from your problem also!

 

 

 


Josh Martin

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Database connection error problemDatabase connection error problem


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