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 ..."Installing Database - Version 4.4.0...FAILURE""Installing Database - Version 4.4.0...FAILURE"
Previous
 
Next
New Post
5/13/2007 11:51 AM
 

I am trying to do a clean install of 4.05.01 on an XP Pro with SQL Server 2005 DevEd and keep getting the error in the subject.

This is what I have done:

I downloaded and unzipped the install-package into a folder. I set the documented rights on this folder, actually giving full access to the ASPNET and Network Service users.

I create the database and create a specific user as well. This user has db_owner rights as documented. I've checked the items mentioned in several threads here with similar problems, but it didn't help me.

The connection is verified fine. After this I get the above mentioned error and it just sits there. Nothing more happens and nothing in done in the database.

If I give up and do a refresh of the window I get the following error:

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The entry 'SiteSqlServer' has already been added.

Source Error:

Line 21:   <connectionStrings>
Line 22:     <!-- Connection String for SQL Server 2005 Express -->
Line 23:     <add name="SiteSqlServer" connectionString="Data Source=XXXX;Initial Catalog=XXXX;User ID=XXXX;Password=XXXX" providerName="System.Data.SqlClient" />
Line 24:     <!-- Connection String for SQL Server 2000/2005
Line 25:     <add

(I X-ed out the naughty bits)

Why is the installation wizard trying to use SQL Server 2005 Express when I explicitly selected the SQL Server 2005 option (second option)? Is this the problem?

I have tried to edit the web.config (renamed the release.config) to get the right connection string, but then I still get the same error even if I edit it before running the wizard.

I have now tried to clean install DNN several times, and are about to give up. I might try an install on Windows Server 2003 instead, but I would really like this to work on XP which is my dev-machine.

Can anyone help?

 
New Post
5/13/2007 11:45 PM
 

1) Can you post the full connectionString section here?

 

2) Do you have another web.config in the directory below where DNN is installed, if you do ASP.Net will inherit the setting in the root?  If this is the case delete the web.config in the root and see if that resolve your issue.

 
New Post
5/14/2007 3:54 AM
 

ssmehaffie wrote

1) Can you post the full connectionString section here?

 Certainly:

connectionString="Data Source=qferrari;Initial Catalog=AustefjordDNN;User ID=Austefjord;Password=*********"

Just edited out the password

2) Do you have another web.config in the directory below where DNN is installed, if you do ASP.Net will inherit the setting in the root?  If this is the case delete the web.config in the root and see if that resolve your issue.

I renamed the web.config in the root web, and guess what? That fixed the entire problem! Is this documented somewhere or is it a bug? I can see this being a problem in many installations.

Thanks, though. Now I'm getting somewhere.

 
New Post
5/14/2007 11:10 PM
 

No, it is not a bug, this is how ASP.net was designed to work.  This way you can have a master web.config in the root and have separate "sub-applications" in VD under the root.  The application can share settings in the root web.config such as debug= true, etc.  For appsettings and connection settings you are adding keys, so if you add the same key that you added in the root web.confg in the VD sub-applications you get the error described.  How ASP.Net handles the inheritance of web.config settings is well documented on many different ASP.Net forums and the documentation inlcuded with VS.Net.  You could also resolve the issue by not deleting the web.config in the root, but just removing the key that is causing the problem from the root web.config and then it would use the setting in the DNN directory.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ..."Installing Database - Version 4.4.0...FAILURE""Installing Database - Version 4.4.0...FAILURE"


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