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 ...Cannot install 4.03.03Cannot install 4.03.03
Previous
 
Next
New Post
7/24/2006 7:05 PM
 

Hi,

Having extreme difficulty getting DNN 4.03.03 to install. This is a clean install on a machine that has never had DNN installed on it. I am using\downloaded the Install version. I have followed the installation instructions explicitly but continue to get this error:

Error Installing DotNetNuke
Current Assembly Version: 04.03.03
ERROR: Could not connect to database specified in connectionString for SqlDataProvider

also get this error, it's either one or the other:

DotNetNuke Upgrade Error
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )
ERROR: Could not connect to database

SQL Svr 2000 Sp4 (set to SQL and Windows Authentication)
Win Svr 2003 Std SP1
II6
Asp.net 2.0.50727

I have added a new Login to the db, dnn4, and gave owner priviledges. Also gave it Server Admnistrator and Database Creators roles. I modified web.config to:
<add
      name="SiteSqlServer"
      connectionString="Server=(local);Database=DotNetNuke;uid=dnn4;pwd=dnn4pw;"
      providerName="System.Data.SqlClient" />
<add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=dnn4;pwd=dnn4pw;"/>

Also tried setting databaseOwner (in web.config) to dnn4, as well as leaving it at dbo. I also tried changing (local) to localhost, and 127.0.0.1 and servername - still cannot connect and get the error.

I CAN use the above connection string in Excel and VB to connect to the db and read the sys* tables.

I deleted and recreated the db many times. I deleted and recopied the files from install zip, and even downloaded it again and unzipped to be sure. I created a virtual directory and gave it proper permissions. I even gave temporary full rights to the DotNetNuke folder and all subfolders for aspnet, everyone and IIS_WPG

I also tried adding dnn4 user as a local system power user, but that didn't help either.

Pulling what hair I have left out of my head.

Thanks for any help!

 
New Post
7/27/2006 1:12 AM
 

Aaargh!

It was staring me right in the face and I didn't see it for the longest time. I didn't see the da@# comment string in front of the sql2000\2005 legacy section of code. Note this is for both Connectionstring and AppSettings.

In case anyone else misses this, if you are NOT using SQL2005 you have to comment out the sqlexpress section and remove the comment tag from the SQL Server 2000/2005 sections. I glanced over that part and made the assumption (yes I know) the install was detecting the db version and using the proper string.

<connectionStrings>
!-- Connection String for SQL Server 2005 Express --> <<Move this
 <add
      name="SiteSqlServer"
      connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
      providerName="System.Data.SqlClient" /> --> <<to here


    <!-- Connection String for SQL Server 2000/2005  --> <<<to here
    <add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=myuid;pwd=mypw;" providerName="System.Data.SqlClient" />
--> <<< Move this________________________________|
  </connectionStrings>

MH

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Cannot install 4.03.03Cannot install 4.03.03


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