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
  • @mrjet i like that line of thinking
    3/10/2010 11:20:30 PM by n3bu1a
  • @mrjet same to you sir! :-)
    3/10/2010 11:17:43 PM by n3bu1a
  • Long day, followed by equally long night
    3/10/2010 11:15:44 PM by n3bu1a
  • working with TFS. fun stuff!
    3/10/2010 9:14:53 AM 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
 What Am I Doing?

Below is a list of what/when are things going on in my life.  If you're interested in finding more out, just shoot me an email on my contact page.

 
Today  View Date:   
       
FebruaryMarch 2010April
SunMonTueWedThuFriSat
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
1516
17
18
19
20
21
22
23
24
25
26
27
28
2930
31
1
2
3
4
5
6
7
8
9
10

 Search