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 ...Where is there a simple checklist of basic items re: restoring a site, db etc.Where is there a simple checklist of basic items re: restoring a site, db etc.
Previous
 
Next
New Post
3/9/2013 8:12 PM
 

Hello,

I'm getting the persistent install starting up, meaning there's an error in how the db is configured and/or the connection string is wrong.

I've restored a 5.4 site restored the db.  I have NTAuthority\ system as a user with owner added as a db login.  The site folder has necessary user accounts/permissions.  Site fires up = IIS 8 is set up.  But ... I get the /install/underconstruction.htm.  That is Firefox tells me the page is being redirected in a manner that may not complete.

I enter the url dev.skydivecolumbus.com, which is in the LM Hosts mapped to 127.0.0.1, like dev.skydivecolumbus.com/ into the address bar and this becomes dev.skydivecolumbus.com/install/underconstruction.htm.

OK, DNN is trying to install meaning the db isn't being hit.  It thinks it needs to install.

Connection strings are:

<add name="SiteSqlServer" connectionString="Data Source=localhost;  Initial Catalog=DnnRdSdcmhDbWeb;  Integrated Security = SSPI" providerName="System.Data.SqlClient" />

and

<add key="SiteSqlServer" value="Data Source=Data Source=localhost;  Initial Catalog=DnnRdSdcmhDbWeb;  Integrated Security = SSPI" />

I've tried localhost, the instance name of DESIGNLAPTOP\SQLEXPRESS, the default notation of "." as this is the only instance, etc  I've tried SSPI and just plain old "true" for Integrated Security.

I think the strings are OK.  There is something I'm missing in the db restore and setup.

I downloaded the super user manual and I'm sorry -- it needs a Quick install card or something. :)   i can't find in the 1611 pages a simple "here's how you install DNN" .  It must be on page 946 instead of between 1-20 where it should be. :)

If anyone knows off the top of their head what the basic things to check for on the db are, please info me or point me to the page in the manual.

Thanks!

Mike

 
New Post
3/9/2013 8:42 PM
 

I don't see how to edit my original post.  I have re-discovered this resource: http://info.dotnetnuke.com/rs/dotnetnuke/images/DotNetNuke_Install_Package_Installation_Instructions_071410.pdf  which I have to apologize and admit someone did extract it from pages 946 to 952 of the 1611 page 5.4 super user manual. :)

I've found this: http://www.dotnetnuke.com/Resources/Forums/forumid/112/threadid/113630/scope/posts.aspx but the link referred to in the post for complete restore instructions dies out.  Does anyone know where to find a resource like what might have been kept here: http://www.webpagemill.com/HowTo/Restore_Dotnetnuke_Website.aspx -- this is what I really need.  There were probably instructions on what to cover with the db restore part of the process.  I'm sure I'm just missing this part.

I've edited localhost to (local) in the connection strings and am trying this out to see if it works.  I've rechecked users in the db, this seems right.

BTW, I look for 2 posts to help with every time I make a post. ;0

Thanks,

 Mike

 
New Post
3/9/2013 9:09 PM
Accepted Answer 

Am I correct that the database has been migrated from a different server? If so, and if you were using NT Authority\System as the account for integrated security login, I'm not sure if the new SQL server would see that account as the same internally as the old even though their names would be the same. I have frequently run into the "orphaned users" problem when moving databases from development to production and the reverse but have always been using SQL Server Authentication rather than Windows Authentication (integrated security).

If your instance of MS SQL Server Express is already configured or can be configured to support mixed mode authentication - that is either Windows or SQL Server Authentication I would suggest you do the following:

  1. Create a new SQL Server Express login using SQL Server Authentication - with a new username and password.
  2. Add the newly created login as a user for the DNN database and grant the user db_Owner schema ownership and role membership.
  3. Modify both DNN connection strings in web.config to remove "Integrated Security=True" and add the newly created login's user id= and password= attributes. As for the server (DataSource) I use ".\SQLEXPRESS" on my localhost installations. The connection strings should look like the following:

<connectionStrings>
    <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Initial Catalog=xxxxxxxxx;User ID=xxxxx;Password=xxxxx" providerName="System.Data.SqlClient" />
  </connectionStrings>
  <appSettings>
    <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Initial Catalog=xxxxx;User ID=xxxxx;Password=xxxx" />


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
3/9/2013 10:45 PM
 

Will,

It probably is an orphaned user issue.  The strings were originally set for standard, that is, they had the username and password.  I tried simplifying to Integrated Security to see if I could get something to work but you know, if the Windows user was also orphaned that would explain things.

OK, how does one get rid of orphaned users?  I deleted the login that was present but when trying to delete it from the database proper got the error that the user could not be deleted because they owned a role.

This is a bit new to me, in 2008 I could entirely delete a login and a user, then recreated both.

Let me give your approach a shot.

Thanks,

Mike

 
New Post
3/9/2013 11:02 PM
 

Will, you're a gentleman and a scholar.  That worked, brought the site right up.

Thanks for your help.

Mike

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Where is there a simple checklist of basic items re: restoring a site, db etc.Where is there a simple checklist of basic items re: restoring a site, db etc.


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