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 ...Install of DNN 5.1.4 hangs on "Installing Database Scripts"Install of DNN 5.1.4 hangs on "Installing Database Scripts"
Previous
 
Next
New Post
10/14/2009 2:34 PM
 

 Hi,

I am in the process of installing DNN on shared hosting.

I contacted the hosting provider and got them to set up my web directory with NETWORK SERVICE full control on the home directory. I also got them to set db_owner for my database user.

However, on the page of "Run Database Install Scripts", the installation just hangs. The progress bar continues to load with red squares and the progress pane simply has "Installing Database - Version 5.0.0..." text in it.

I have checked the database in Management Studio and tables, stored procedures and functions appear to have been created. However I don't know if all of them have been.

I have tried the instllation in Internet Explorer, FIrefox and Chrome and in each one it hangs. 

While trying to install in Internet explorer I caught this javascript exception:

"Cannot deserialize. The data does not correspond to valid JSON.Parameter name: data"

Can anyone assist please? I'm on my 4th install attempt!

Thanks in advance.

T

 
New Post
10/14/2009 5:16 PM
 

Whenever I have seen this error occur, it was permissions related.  Your hosting provider may have given the correct permissions to the root directory, but those same permissions need to be on every file in the DNN site.

I have reported this error here:

http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=9034&PROJID=2

I also blogged about this here:

http://www.willstrohl.com/Blog/tabid/66/EntryId/278/DNN-Database-Installation-Error-Undefined-Success.aspx

Hopefully, this fixes your problem.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
10/15/2009 9:04 AM
 

Hi Will, thanks for the reply!

I was so hopeful and confident that this would fix my problem. However, unfortunately it hasn't. I was in contact with hosting company for the last few hours both on email and phone and I am reasonably confident that the permissions were set correctly.

The network service user was given full control on the root directory propagating rights down to all subfolders and files as you instructed in your blog. I am still getting the aforementioned javascript error regarding "cannot deserialize. the data does not correspond to valid json". I tried the install locally pointing to remote SQL server and it worked fine.

I think i am going to try to install an earlier version of DNN and if I need to I can upgrade from that to 5.1.4.

Thanks again for your help.

T

 
New Post
10/15/2009 11:18 AM
 

1. please ensure you have ms ajax installed (we recommend installing the 3.5 sp1 version of the .net framework) as it's a requirement for dnn 5.x

2. please check your permissions, this error can occur if the aspnet user does not have the right to read from a file. This can happen if inheritance is not on e.g. you may have set the permissions correctly, then copied across new files and as inheritance is not on, the permissions did not propagate.

3. clear out your local browser cache and cookies - ajax/json errors can occur if script files are corrupted.

4. if you have a proxy cache, please clear it also (same reason as above)

5. ensure static files are allowed to be served in IIS7 (this is the default, but please check)
 

  • Go to Control Panel\Programs\Programs and Features and select 'Turn Windows features on or off
  • Find and expand Internet Information Services\World Wide Web Services\Common HTTP Features
  • ensure the 'Static Content' checkbox is checked

6. please make sure your web.config entries are correct. A bug in dnn 5.0 can cause the web.config to contain blank xmlns i.e.

</system.web>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="bin;bin\HttpModules;bin\Providers;bin\Modules;bin\Support;" />
      <dependentAssembly xmlns="">
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
      </dependentAssembly>
      <dependentAssembly xmlns="">
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>


If you have the xmlns="" in your web.config, add the correct text inside the empty quotes... xmlns="urn:schemas-microsoft-com:asm.v1", which should result in something like this...


</system.web>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="bin;bin\HttpModules;bin\Providers;bin\Modules;bin\Support;" />
      <dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
      </dependentAssembly>
      <dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/15/2009 11:19 AM
 

If we may ask, what company is the shared hosting account with?

If you can install sucessfully (locally) to the remote database, what happens when you copy the local files to remote web server and run from there (with proper connection credentials)? Does it launch and run as expected?

I have had problems installing the DNN 5+ versions from Firefox on Linux and in IE8 on Windows 7 from time to time...

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install of DNN 5.1.4 hangs on "Installing Database Scripts"Install of DNN 5.1.4 hangs on "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