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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Upgrade DNN 3.1.1 to DNN 4.3.4Upgrade DNN 3.1.1 to DNN 4.3.4
Previous
 
Next
New Post
9/15/2006 2:08 PM
 

Hi all,

  I hope someone out there can help me, as the title suggests I am running my current site on DNN 3.1.1 and now want to shift over to DNN 4.3.4 and there's the problem.

  Here is what I have so far. 1 backup of my site running on my hosting companies servers. This backup site is an exact mirror of the main site, running from it's own instance of the DNN database. It is this backup site I am trying to upgrade as a test before doing it on the live site.

  So far I have downloaded the DNN 4.3.4 Upgrade .zip file and unzipped this to my backup sites folder, overwriting any files as it goes. Next I changed the .NET version to 2 now came the fun part. I renamed the web.config file to web.config.resource and renamed the release.config file to web.config Now I opened the web.config.release file and the new web.config file (so I had a point of referance for the changes) here is what I have changed in web.config

<connectionStrings>
    <!-- Connection String for SQL Server 2000/2005
    <add
      name="SiteSqlServer"
      connectionString="Server=entered my SQL server addy here;Database=database name here;uid=database UID here;pwd=database Password here;"
      providerName="System.Data.SqlClient" />
   -->
<!-- Connection String for SQL Server 2005 Express -->
    <add
      name="SiteSqlServer"
      connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
      providerName="System.Data.SqlClient" />

  </connectionStrings>
  <appSettings>
    <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules
    <add key="SiteSqlServer" value="Server=entered my SQL server addy here;Database=database name here;uid=database UID here;pwd=database Password here;"/>
    -->
<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules   -->
    <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>

Further down the web.config file

<system.web>
    <customErrors mode="Off"/>  <-- This I added to try and get a detail of the error
    <machineKey
      validationKey="Validation key from the original we.config file"
      decryptionKey="decryption key from the original we.config file3"
      decryption="3DES"
      validation="SHA1"/>
    <!-- HttpModules for Common Functionality -->

Now when I try to go to my site address to complete the update I get the wonderful error:

Server Error in '/' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

Please can anyone help me identify what I am doing wrong here??? 

Thanks.

 
New Post
9/15/2006 2:56 PM
 
Well first off the changes you made won't make a difference because the section you edited is commented out.  If you're using SQL 2000, uncomment that section and comment out the SQL Express area.  Also, did you copy the machine keys over from your old web config?
 
New Post
9/15/2006 9:17 PM
 

I officially now feel stupid, you know after a long shift at work and then trying to do this was a bad idea

I did copy the machine keys over, I will now go back and uncomment the sections I need and see what I get.

Thanks

 
New Post
9/16/2006 10:39 AM
 
This may seem basic, but in your web.config file change the customerrors value to "off" (All lower case!!) so it will generate, if needed, an error message that might be meaningful.
 
New Post
9/16/2006 11:32 AM
 

This is directly from the downloads area:

"DotNetNuke 4.0 is designed to be used with ASP.NET 2.0. Please note that there is not an automated upgrade path from the DotNetNuke 3.x Source version to the DotNetNuke 4.0 Source version at this time. Based on the fact the folders/files in the Source version have been completely reorganized, DO NOT extract the DotNetNuke 4.0 Source version over top of an existing DotNetNuke 3.x version. Also note that the web folder in the DotNetNuke 4.0 Source release has changed from the root folder to the /WebSite folder."

"Please can anyone help me identify what I am doing wrong here???"

There is no automated upgrade path from 3.x to 4.x, so what you're doing wrong has nothing to do with the config file.

The best advice for anyone still in 3.x (myself included, I have a few) is to use the 3.3.5 upgrade on 3.x installs, plain and simple.

Please read the instructions more carefully before attempting to upgrade existing installs.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Upgrade DNN 3.1.1 to DNN 4.3.4Upgrade DNN 3.1.1 to DNN 4.3.4


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