This is the best thread yet... I have always been scared to death to upgrade and I just realized I was lucky a few times.
I think I have it down to a tee...But please let me know if I am wrong.
First I have MaximumAsp as my host and they always do backups everyday on our sql server...which is a plus.
On an upgrade:
A. My Local machine
1. I download the new zip and unzip it to a new folder.
2. Then I copy over all files to my DNN folder I current have on my computer
But, I keep
a. my portals folder, I keep my _default folder in this too..just in case I made modifications to the default.css file
b. keep my app_GlobalResources folder,(different languages I added)
c. I keep my 400,401,403-3,404,500 (Because I modified these to show my logo and not a DNN error.)
d. Keep my fav.ico ( I modified this to show our logo)
e. Then I download my Current web.config file...because the machine keys changed on the server when I originally installed the application
f. Then I compare the new release.config file to the web.config file I have. I copy everything from the web.config that needs to be in the new release.config file. Then I rename the web.config file to back.web.config and save the release.config to web.config.
g. One thing you could do is to write comments in the web.config when you make changes...Example: I added speerio file manager to my modules and needed to change the web.config file. So I wrote comments in the web.config file to make sure I knew about the change I made to this file. This way it will be easy to copy changes to your new web.config file.
h. If you didn't make any changes to the web.config file, then you will only need to copy these exact lines
<add key="SiteSqlServer" value="Server=yourserver;Database=yourusername;uid=yourusername;pwd=sqlpassword;" />
<add key="MachineValidationKey" value="whatever key is generated here" />
<add key="MachineDecryptionKey" value="whatever key is generated here" />
Then I need to get the upload process started.
Do this at night time so you can prepare yourself for any difficulties getting this process done or you don't want your site to be down for 5 minutes during the day.
3. If you don't want anyone to hit your site during update...just delete the dotnetnuke.dll from the bin folder.
4. Then start to upload all of the folders one by one.
I usually start off with the bin folder and just upload all of the files except the dotnetnuke.dll (I will install this file last)
I will then have all folders uploaded.
5. Then I upload all of the files and save the web.config for last.
6. Now I go back and add the dotnetnuke.dll to the bin folder.
7. Now I need to call MaximumAsp and have them give the web.config file IUSER - Modify permissions on that file.
I need to do this or I can't get DNN to upgrade successfully
8. Now remember to have all your permissions set on the server (give write access to Bin, Desktop Modules, and Portals.)
9. You will need to contact your host to give write permission to the application pool's user - your IWAM user. Which should already be set the first time you installed DNN.
I hope this helps and I hope someone can let me know if I have anything wrong in here or left anything out. I have been do this since day one and I have always downloaded my web.config file from the server first. I didn't realize I was suppose to keep the machine keys. Lucky me!!!