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 to 4.9 error in HostSettings.ascx.vbUpgrade to 4.9 error in HostSettings.ascx.vb
Previous
 
Next
New Post
10/8/2008 9:55 PM
 

After attempting to upgrade to 4.9, get the following error after logging in as host, and going to the Host section of the site:

Error: Host Settings is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: D:\Websites\theburbblog.com\webroot\admin\Host\HostSettings.ascx.vb(105): error BC30456: 'Permissions' is not a member of 'DotNetNuke.Framework.SecurityPolicy'. ---> System.Web.HttpCompileException: D:\Websites\theburbblog.com\webroot\admin\Host\HostSettings.ascx.vb(105): error BC30456: 'Permissions' is not a member of 'DotNetNuke.Framework.SecurityPolicy'. at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

Looking at HostSettings.ascx.vb, at line 105, I have this line:

lblPermissions.Text = Framework.SecurityPolicy.Permissions

the previous DNN version of HostSettings.ascx.vb had this:

If strPermissions <> "" Then
    lblPermissions.Text = strPermissions.Substring(2)
End If

Just for grins- I tried to put the ascx.vb file from the previous version in place, and that seemed to "downgrade" my DNN.  At least it was telling me that an upgrade was available when logged in, but it did take care of the error.  Did not hunt around enough to see if it broke anything else when I made the swap.  Swapped it back, and site is running as stated.  I am now out of my league ;)

 
New Post
10/31/2008 12:31 AM
 

I have had this problem upon upgrading to 4.9.0 from 4.8.2. although I only got it when recompiling the web site.

In the end it was down to other projects linked into the web site solution not having the new version of the DotNetNuke.dll upgraded.

So make sure all occurences of DotNetNuke.dll have been overwritten with the new  4.9.0 version. Even if the /bin/DotNetNuke.dll has been overwritten with the new version if one of the other occurences of this dll is older it can then overwrite this dll on a recompile.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade to 4.9 error in HostSettings.ascx.vbUpgrade to 4.9 error in HostSettings.ascx.vb


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