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 - HELP!Database Connection Error - HELP!
Previous
 
Next
New Post
12/27/2006 5:10 PM
 
First of all I am new to DNN so bare with me.  I have searched and searched for a solution to the issue I am having.  Anyway, I am getting the following error when trying to install version 4.4.0 with MS SAL Server 2000. 

Error Installing DotNetNuke

Current Assembly Version: 04.04.00

ERROR: Could not connect to database specified in connectionString for SqlDataProvider

I have followed the installation instructions to a T.  This is being installed on W2k3 Standard Ed. SP1 with all updates and the latest version of ASP.NET 2.0.  Both servers are joined to a windows domain and the user account for the database was created in ADUC (Active Directory) with the appropriate permissions in SQL. 

The only thing I am questioning is all the instructions I see talk about setting up the site as a virtual directory.  Does it matter?  Is there another way to configure if doing this way?

Any help would be greatly appreciated.

 
New Post
12/27/2006 10:52 PM
 
Please post your connectionString here and you will have a better shot of getting an answer.  Of course, replace the id and password with dummy values.   Also please list the permission the user has on the DNN database.
 
New Post
12/28/2006 10:28 AM
 
Sorry.  read below:

<connectionStrings>
    <add name="SiteSqlServer" connectionString="Server=dbsvr;Database=DotNetNuke;uid=dnnuser;pwd=****;"
      providerName="System.Data.SqlClient" />
  </connectionStrings>

The DB user has the following permissions:
Public
db_owner
db_securityadmin
db_ddladmin
db_datareader
db_datawriter
 
New Post
12/28/2006 11:55 AM
 
Is the connection string the same under the connectionString section.  There are 2 places that the connection string has to be set.  The core uses the the one under the connectionString section and most 3rd party modules use the one under appSettings.
 
New Post
12/28/2006 12:06 PM
 
are you talking about this?

<appSettings>
    <add key="SiteSqlServer" value="Server=dbsvr;Database=DotNetNuke;uid=dnnuser;pwd=****;" />
    <add key="InstallTemplate" value="DotNetNuke.install.config" />
    <add key="AutoUpgrade" value="true" />
    <add key="InstallMemberRole" value="true" />
    <add key="ShowMissingKeys" value="false" />
    <add key="EnableWebFarmSupport" value="false" />
    <add key="EnableCachePersistence" value="false" />
    <add key="HostHeader" />
    <add key="RemoveAngleBrackets" value="false" />
    <add key="PersistentCookieTimeout" value="0" />
  </appSettings>
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Database Connection Error - HELP!Database Connection Error - HELP!


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