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 install hangsdatabase install hangs
Previous
 
Next
New Post
8/11/2014 2:07 PM
 

Hi Guys,

Have been trying to get a website retored for a while now and am tearing my hair out .....

A server went down however i recovered the website files (inetpub source folder) and the dnn database.mdf. I pointed to the correct folder in IIS and then started the webpage and went to it for install. The install process begins and i get to the database install and point it to the correct one and it begins install. However after about 97 "undefined...Success" it hangs!

Anyone have any suggestion that i could follow - ive tried a lot of different option etc like resetting the cache use IE9 etc however I am now stuck bigtime

Anyone help me out?

thanks a lot,

Ger.

 

 
New Post
8/11/2014 4:05 PM
 
if you are getting an install wizard then you are not restoring a site - it is unable to connect to the database so it thinks that it is a new install (if you correctly restore it will open the site). I recommend you check the connection strings in web.config and ensure that they are for the mdf (i.e. a user instance) and not for a remote database.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/12/2014 7:34 AM
 

Hey Cathal,

thanks for the reply - at least now I know the issue is in web.config, however i am still stuck without knowing what to do. Apologies for being such a noob.

So this is where i am at now:

I followed this thread to create a udl - http://www.dnnsoftware.com/forums/forumid/107/threadid/496677/scope/posts/threadpage/2

the udl comes gives: 

Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=DotNetNuke;Data Source=MMRRCSERVER\SQLEXPRESS

So ive changed my web.config file from this:

<connectionStrings>

<!-- Connection String for SQL Server 2005/2008 Express -->

    <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />

    <!-- Connection String for SQL Server 2005/2008

<add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;" providerName="System.Data.SqlClient" /> 

    --></connectionStrings><appSettings>

    <!-- Connection String for SQL Server 2005/2008 Express - kept for backwards compatability - legacy modules   -->

    <add key="SiteSqlServer" value="Data Source=.\SQLExpress;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=True;User Instance=True" />

    <!-- Connection String for SQL Server 2005/2008 - kept for backwards compatability - legacy modules

    <add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;"/>

    -->

To this:

<!-- Connection String for SQL Server 2005/2008 Express -->

    <add name="SiteSqlServer" connectionString="Data Source=MMRRCSERVER\SQLEXPRESS;initial catalog=DotNetNuke;Integrated Security=SSPI;User Instance=True" providerName="System.Data.SqlClient" />

    <!-- Connection String for SQL Server 2005/2008

    <add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;" providerName="System.Data.SqlClient" /> 

    -->

  </connectionStrings>

  <appSettings>

    <!-- Connection String for SQL Server 2005/2008 Express - kept for backwards compatability - legacy modules   -->

    <add key="SiteSqlServer" value="Data Source=MMRRCSERVER\SQLEXPRESS;Initial Catalog=DotNetNuke;Integrated Security=SSPI;User Instance=True" />

    <!-- Connection String for SQL Server 2005/2008 - kept for backwards compatability - legacy modules

    <add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;"/>

    -->

Do I have this correct?

If i reload the webpage i still get to the install page.....so still something wrong here, is there anyway to figure out what the issue is? ie i do not get any warnings errors etc - 

thanks again for any help you can give me,

cheers,

Ger.

 
New Post
8/12/2014 7:52 AM
 
I think you should check that you really have RECOVERED the web site files.

The original web config lines you quote above look to me like what you get from a brand new expansion of the Dnn install zip file.

If you are doing a *pure* recovery. Ie recovering to the same folder on the same server as original; using a database recovered to the same place on the same DB server as original, then the recovered web.config should already be perfect. The site should just work - no web.config changes required at all.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
8/12/2014 8:34 AM
 

Hi Richard,

Recover files seem correct - ie database is 30mb in size as last modified date is when i last updated website etc.

I have tried to keep to a pure recovery however i did not setup the original server/website and have had some issues restoring as pure - the database itself was version 706 (SQL server 2012) so i had to export scripts and import them again in 2008 to get it as 655. Also wasn't sure where the database.mdf file should be kept physically - but guessed it should be within the App_data folder.

Everything else i have kept as the same (as far as i know). However on starting website i get an error relating to web.config string "Unrecognized attribute 'requestValidationMode'. Note that attribute names are case-sensitive." i have removed the (requestValidationMode="2.0") from my config file

Do you think either of these have any repercussions? ie are they the cause of my failure

Thanks again,

Ger. 

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...database install hangsdatabase install hangs


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