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 ...DNN 4.4.0 Upgrade issuesDNN 4.4.0 Upgrade issues
Previous
 
Next
New Post
1/5/2007 6:26 PM
 

I couldn't figure out what the prblem was. So, I started over and installed 4.3.4. Once that version was up and running I loaded the 4.4.0 version and ran the upgrade. This time I was able to access my site after the upgrade. I did everything exactly the same as last time except for the machine keys since of course they are different. However, after the upgrade none of the images showing-up.

I am just glad that I am not trying to upgrade a production site since I can't seem to get it right.  

 
New Post
1/5/2007 8:39 PM
 

Hi Darrel,

I meant to write this up for your other post, but I ran out of time yesterday. It's no simple task to install or upgrade DNN for the first time. Once you know all the details, it's a snap of course. I recommend taking notes as you go, because you'll be doing it over and over again at the start. I took notes myself, and that's why I can give you them here.

I suggest starting over and doing it from scratch rather than wasting time troubleshooting. The install should go smoothly and if there is trouble then something is wrong with the install.. so just start over.

This installs DNN to a subfolder of your WH4L account. This will allow you to carry out work in other folders on your account whilst the DNN site is present. The information I've given is for performing a fresh installation, but most of it also applies to performing an upgrade.  [CP] means that you do the operation in the WH4L Control Panel.

  • [CP] Create a folder for your site on your account.
  • [CP] Install/set up your domain on WH4L, with email service if required.
  • Redirect DNS servers for your domain to the ones listed in your WH4L panel for the new domain
  • [CP] Redirect domain to the site folder
  • [CP] Set permissions with on the folder and subfolders (even tho not present yet) as follows:
    • NETWORK SERVICE = RWXD
  • [CP] Set .Net application to ASP.Net 2.x for the new domain
  • [CP] Create new MSSQL Database - Use SQL2005 only if SQL2000 is not available
    • Name = yourdbname
    • ID = yourdbusername
    • Pass = yourdbpass
    • Take note of the server address sqlxxx.mysite4now.com
  • Remove the web.config file from the DNN Install.zip - We'll use the release.config
  • Upload the "DNN Install" files to the folder - You can upload it as a zip via ftp and then use the Control Panel's File Manager to unzip it to your new folder.
    • This is vital: [CP] Set NETWORK SERVICE = RWXD again on all files and folders.
      But beware the caveat of the shared hosting account!:  Doing this procedure via the hosting control panel will likely time out. When it has finished, scroll all the way down the page to see if it gave an error. The workaround is to do it for each subfolder and root file individually, or even better, put in a support ticket asking them to do it. You will have to explain that it times out, because the typical response is that you can do it yourself in the panel. No matter how many times you go through this, they will still come up with that response. 
  • Open release.config file for editing (either local or remote if your ftp app allows)
  • Set AutoUpgrade = false (search for "autoupgrade" in the file)
  • Find the <connectionStrings> and <appSettings> sections
  • Comment out, (using <!-- section -->) the SQL Server 2005 Express or SQL Server 2000 section that is not going to be used. One of these is commented out by default. 
Sample strings for SQL2005 Express:
 
<connectionStrings>
<add name="SiteSqlServer" connectionString="Server=sqlxxx.mysite4now.com;Database=yourdbname;uid=yourdbusername;pwd=yourdbpass" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="SiteSqlServer" value="Server=sqlxxx.mysite4now.com;Database=yourdbname;uid=yourdbusername;pwd=yourdbpass" />
 ...etc
Sample strings for SQL2000:
 
<connectionStrings>
<add name="SiteSqlServer" connectionString="Server=sqlxxx.mysite4now.com;Database=yourdbname;uid=yourdbusername;pwd=yourdbpass;" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="SiteSqlServer" value="Server=sqlxxx.mysite4now.com;Database=yourdbname;uid=yourdbusername;pwd=yourdbpass;" />
 .... etc 
  • Set customErrors mode="Off" (Search for "customErrors" in the file)
  • Rename release.config to web.config
  • Trigger the installation by opening: http://yourdomain.com/Install/Install.aspx?mode=Install
  • Watch that the update goes smoothly
  • If it fails, the error will display and you can paste it in a forum post.
    • Go back over the steps above and ensure you have not missed anything.
  • If it works, then sign in and change the passes for the Admin and Host accounts.
  • Look in your WH4L control panel for the email server name:
    • In DNN menu: Host settings, Advanced settings, SMTP server settings
      SMTP server: serverxxxxx.mysite4now.com
      SMTP Authentication: Basic
      Username: your control panel username
      Password: your control panel  password

I can't stress enough how important it is to set and reset the correct DNN file permissions. Most file management operations... uploading, zipping, moving, renaming, etc. will upset your permissions and I have come to believe that this is one of the biggest causes of DNN problems. This is compounded by the difficulty in setting them reliably on a shared hosting account.

Regards,
Rob

 
New Post
1/5/2007 8:43 PM
 
DarrellESh wrote
 However, after the upgrade none of the images showing-up.

It could be another permissions issue, either in the DNN file manager or in the hosting control panel, but it could also be the new compression/whitespace settings in DNN4.40. Disable one or both until 4.41

Rob

 
New Post
1/5/2007 10:23 PM
 

Rob,

Thank you for taking the time to help out a total stranger with my install/upgrade problems. I have been beating my head against the wall with this stuff since I am new to the DNN world and your right I have been trying different things over and over again. On my local machine I can setup a new install from scratch in about 5 mins. But, it is another ballgame when you are dealing with a remote server. But thanks to people like you who are willing to help others in need I am becoming less frustrated  and more excited about what I am learning. So, on behalf of all of use newbees to DNN Thank you very much for lending a helping hand. 

 
New Post
1/6/2007 7:07 AM
 

No problem at all Darrel, and thank you for the friendly reply :) I know all too well the frustrations of implementing DNN.

Just one small addition to the procedure.. after DNN has successfully installed, set Set customErrors mode back to "RemoteOnly" in the web.config. This will hide any future error messages from prying eyes until you want to see them.

Write into this thread again if you get stuck on anything. I've got DNN and Webhost4life pretty well sorted out by now. After messing around for a while, you'll need to sort out backing up, restoring and upgrading. This is the only way to avoid wasting weeks of configuring and content creation when things inevitably go wrong.

Regards,
Rob

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 4.4.0 Upgrade issuesDNN 4.4.0 Upgrade issues


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