ScottAllender.com

developer geek... social media advocate...
community activist

 Recent Posts
May 5

Written by: Scott Allender
5/5/2009 10:51 PM 

So tonight, I decided to upgrade my personal sites to DNN 4.9.3. What could go wrong? Upgrading between 4.6.x versions and greater is easy since the XmlMerge functionality was introduced.


 

Wow! I was wrong!


 

I backed up both the database and the file system (which should always be done no matter what type of upgrade), downloaded the upgrade files from dotnetnuke.com, unzipped the contents over my current site files and upgraded. So far so well.


 

BAM! Did not even make it to the upgrade screen. Big fat yellow ASP .Net exception screen stating Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.


 

Not exactly the most straight forward error message. At this point, I started going through Google, and still nothing. But then I started thinking, if it's a permission issue, I need to check what the permissions were on the file system. Since the site wasn't even rendering, I figured it might be a permission issue on the libraries within the bin directory. I checked the permissions, and sure enough, the user account I have associated with .Net Application Pool was nowhere to be found. After adding the appropriate permissions to the Bin\ directory and performed an app restart, the site worked fine!


 

I say it's an IIS 7 issue primarily because this is the first time I've updated a DNN site on IIS 7. On any IIS 6 sites I have never ran into this issue. If anyone has, I'd like to hear what steps were taken during the upgrade process.

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 
 Welcome!

Welcome to scottallender.com.  I'm an IT pro out of St. Louis, based out of St. Louis, MO.  I specialize in Microsoft .Net Technologies, DotNetNuke, and other various technologies.  I also volunteer my time in my home town of Maryland Heights, MO.  Bounce around the site if you're interested in finding out more.

my rss feed   Feel free to subscribe to the feed.

 Current Twitter Status
  • @BrianSchroer awesome! totally worth it!
    9/3/2010 7:39:52 AM by n3bu1a
  • @rockstarima first time eating there but will not be the last
    9/2/2010 8:21:43 PM by n3bu1a
  • @TheLunaLounge agreed! so incredibly awesome!
    9/2/2010 8:20:38 PM by n3bu1a
  • Interesting burger joint. Anybody know if i'll regret this in a few hours? (@ Carl's Drive In) http://4sq.com/awAvPg
    9/2/2010 7:25:15 PM by n3bu1a
  • RT @microsoft_cares: Should you be infected with conficker or ANY virus the PCSafety team at Microsoft offers FREE assistan…"
    3/31/2009 4:01:36 PM by n3bu1a
 Recently Read Items
 Search