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 ..."Failure installing Database Scripts""Failure installing Database Scripts"
Previous
 
Next
New Post
12/8/2011 12:18 PM
 

I can reproduce the error below consistently on my hosting platform. Database tables are created, so the SQL information is correct. Permissions are correct on the folder (modify) - confirmed in that the installer updates the web.config file with the SQL information provided in the first step. For some reason though it consistently fails at the step below.

Installing Database - Version 06.00.00...Success
Upgrading Database to Version 06.00.01...Success
Upgrading Database to Version 06.00.02...Success
Upgrading Database to Version 06.01.00...Success
Upgrading Database to Version 06.01.01...FAILURE ERROR: Error: Object reference not set to an instance of an object.   at DotNetNuke.Services.Installer.XmlMerge.UpdateNode(XmlNode rootNode, XmlNode actionNode)
   at DotNetNuke.Services.Installer.XmlMerge.ProcessNode(XmlNode node)
   at DotNetNuke.Services.Installer.XmlMerge.ProcessNodes(XmlNodeList nodes, Boolean saveConfig)
   at DotNetNuke.Services.Installer.XmlMerge.UpdateConfigs()
   at DotNetNuke.Services.Upgrade.Upgrade.UpdateConfig(String providerPath, String configFile, Version version, String reason)

I have a workaround - which is to install it locally on another PC then upload to the server, but I need to find a solution to this failure when running server-side.

Thanks in advance.

~Brad

 
New Post
12/8/2011 5:51 PM
 
it's an error with the xmlmerge component which updates web.config -please check that you have granted modify permissions from the root down, and that the web.config file is not set as read-only.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
12/8/2011 6:52 PM
 
Yes, both of those have been checked. The user has modify permissions and the file is not marked read-only. In fact, the web.config *was* updated by the installer because I can see the connection string has been changed based on the values I entered on the first page.

What else can we check?
 
New Post
12/9/2011 3:32 AM
 
there is most likely a file permission problem, maybe accessing files in /config folder. The windows account used by ASP.net needs to be able to create and delete files.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/9/2011 6:57 AM
 

Permissions on the \config\ folder are fine too - "modify" and inherited from the root. I also see a "backup" (+date+time) folder under \config\ that, according to it's date and time, was created by the installer - so that seems to be further confirmation that the install wizard has the proper permissions.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ..."Failure installing Database Scripts""Failure installing Database Scripts"


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