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 ...Upgrade from 4.9.5 to 5.6.2Upgrade from 4.9.5 to 5.6.2
Previous
 
Next
New Post
6/3/2011 1:54 PM
 
I tried to do this upgrade directly today on my test site, and could find no method which didn't overwrite the original site entirely and leave me with a clean new site.  I've seen at least one recommendation that I should upgrade via 5.2.3 and 5.4.4.  I've downloaded those, but I have a question.  I see that browsing to the URL with 5.6.2 installed takes me direct to the Install wizard.  I tried changing the URL to

http://localhost/osc/install/install.aspx?mode=upgrade

But it still ran the initial install.  Is this just because I didn't do the staged upgrade or is there something else going on??  I'm concerned that if I do get 5.6.2 installed I'll have no way to do an upgrade.

hedera
**********
Nature bats last.
 
New Post
6/3/2011 4:23 PM
Accepted Answer 
If I had a brain I'd be dangerous, or, this is what I get for trying to be in a hurry...  I downloaded the "install" package.  Back to get the "upgrade" package...

hedera
**********
Nature bats last.
 
New Post
6/3/2011 6:42 PM
 
Honest, I think it's a curse.  I downloaded the install package for DNN 5.6.2 and tested the one-step install from 4.9.5 on my test copy.  Perfect.  Everything worked.  So I did the same install with the same package on my production 4.9.5 site.  I got a security error:

Security Exception
Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
   System.Security.CodeAccessPermission.Demand() +58
   System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) +595
   System.IO.DirectoryInfo.Create() +15
   DotNetNuke.Services.Installer.Util.WriteStream(Stream SourceStream, String DestFileName) +71
   DotNetNuke.Services.Installer.InstallerInfo.ReadZipStream(Stream inputStream, Boolean isEmbeddedZip) +206
   DotNetNuke.Services.Installer.InstallerInfo..ctor(Stream inputStream, String sitePath) +209
   DotNetNuke.Services.Installer.Installer..ctor(Stream inputStream, String physicalSitePath, Boolean loadManifest, Boolean deleteTemp) +61
   DotNetNuke.Services.Upgrade.Upgrade.InstallPackage(String strFile, String packageType, Boolean writeFeedback) +215
   DotNetNuke.Services.Upgrade.Upgrade.InstallPackages(String packageType, Boolean writeFeedback) +216
   DotNetNuke.Services.Install.Install.UpgradeApplication() +967
   DotNetNuke.Services.Install.Install.Page_Load(Object sender, EventArgs e) +325
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
   System.Web.UI.Page.ProcessRequest() +80
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.install_install_aspx.ProcessRequest(HttpContext context) +4
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

It LOOKS as though it failed trying to set a public key token.  Can someone suggest what I need to ask my hosting company??  I've never had a security error with a DNN install before.

hedera
**********
Nature bats last.
 
New Post
6/4/2011 12:17 AM
 
Please ignore the part of this post about the security error, I have opened a separate thread on that.

hedera
**********
Nature bats last.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade from 4.9.5 to 5.6.2Upgrade from 4.9.5 to 5.6.2


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