You need to Register for free and Login to post a message in the forum.

Forum

Subject: Issue 22 -- Useful and Timely
Prev Next
You are not authorized to post a reply.

Author Messages
DavidWSnow
DNN Creative Magazine Subscriber
Nuke Master
Nuke Master
Posts:124

06 Jul 2007 6:06 PM  

I just went thru the Issue 22 videos and I expected to learn very little as I frequently migrate my production site to localhost, and very occasionally migrate it back.

 

As it turned out I discovered how to make multiple portals work, which will help with some offline demos my wife has scheduled next week.

 

There were a few things that I though that I’d share with the forum users.

·         The first is have a development strategy. Know what is going to be developed on your production server and what is going to be developed on your local host.

In my case I develop new content on hidden pages on the production server, and applications on the localhost. Since my apps are usually ListX-based they are easy to migrate by themselves. When I am at a good point in development I clone the production server on my localhost.

The advantage of content development on the production server is that all of the URL tweaks that Lee showed how to fix don’t appear broken when viewed on the localhost. However, any content (Text with Images) developed  in a localhost environment may have to be “fixed” when moved to the production server.

·         The second thing is that Lee’s video work well for the first time that you move a site. However, there are differences when you are uploading over a live site. There are also differences when restoring the database over an existing one vs. doing a database creation as part of the restore.

I recently was stupid in loading a DNN module, which I wasn’t using onto my production server without testing it locally. It messed up my database to the extent that I had to role back to the night before’s backup.  The ISP has an automatic process for this, similar to Lee’s.  However, if anyone accesses the site during the restore, the restore fails with no error message. I didn’t use the app_offline file, and don’t know if it would have helped. But to solve the problem I had to have the ISP do the restore to a new database, then alter the web.config.

·         There are other ways to deal with the connection strings. I have both my production and localhost in a common web.config, and just move the two ending comment à markers as required.


   

   

    <add name="SiteSqlServer"

         connectionString="Data Source=.\SQLExpress;Integrated Security=True;Initial Catalog=ASI3"

         providerName="System.Data.SqlClient" />

·         You will notice that I don’t use uid / password for the localhost and that my ISP has the SQL server running on the same system.

 

I went to look for your Ace FTP and it appears to be $30 shareware. I have been using Filezilla and it works great. It allows assigning an editor to be used via FTP. I assigned Visual Web Dev Express and now it is easy to view and/or  tweak web.config and other files.


Lee Issue 22 was great - keep up the good work,

/DaveS 

 

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3325

09 Jul 2007 9:49 AM  
Glad you found it useful and some good info for the other readers,

Cheers,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > Users Lounge > DNN Creative Articles > Issue 22 -- Useful and Timely



ActiveForums 3.7

Latest Forum Posts

RE: Reversing Limited Access to the Admin Menu by wynnjon
OK-So I've updated the TABS table entries in the database and set the previously modified entries (t...
RE: localhost Install issues by leesykes
If you go to the subscribe page and click on the get free trial button - this takes you to a page wh...
localhost Install issues by cdees
I've set up a local host and want to run DNN for a local development machine.  The host is set up; h...
RE: Reversing Limited Access to the Admin Menu by wynnjon
That is what I thought.  So for my clients that will need to manage user accounts, I can not limit t...
RE: Reversing Limited Access to the Admin Menu by leesykes
I seem to recall it doesn't work
RE: Reversing Limited Access to the Admin Menu by wynnjon
Thanks Lee-  I will give that a try.An additional question- If you place the "User Accounts" page un...
RE: Reversing Limited Access to the Admin Menu by leesykes
all you need to do is reverse the process within the SQL tables.Compare the data to the other rows i...
RE: Module not working when logged off. by leesykes
thanks for the info,
Reversing Limited Access to the Admin Menu by wynnjon
Hi!  I followed the tutorial for limiting the access to the admin menu.  What a great thing!However,...
RE: Trouble installing! Designer trying to be a Developer. by leesykes
glad to hear you found a solution, thanks,
RE: Skim Question by leesykes
You could but you will not be able to have an XHTML compliant page as the SolpartMenu is non-complia...
RE: Include in Menu - Weird Request by leesykes
For your sitemap.xml file - use GSiteCrawlerYou could create the site map before moving the sub menu...
RE: Trouble installing! Designer trying to be a Developer. by awright14
It looks like I had ASP installed in the wrong order.  Copying and pasting this into the Run Command...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
Hello,Have you tried adding a class to the content area of your container and then styling the p, a,...
RE: Vertical SolpartMenu by leesykes
hello,If you wish to display the admin and host menus within the house menu, you need to enable it i...
RE: Firefox Does Not Display WMV File In Media Module by leesykes
Hello,I have just tested this and I can play a wmv file in Firefox 3.0.3, so it does suggest that it...
RE: advice wanted convert site to DNN while keeping existing asp functionality by leesykes
You could try using the IFrame module in DotNetNuke and then just link the IFrame to the current pag...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
Thanks for the quick update... I know it looks broken right now, but I had the TITLE classes working...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
The default class for a container is .head so you will find that the .head class will override any s...
RE: Module not working when logged off. by t.ramya85
have to set the cache time to '0' in that module setting.
AppTheory
RSS Feeds