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 ...5.0.1 -> 5.1.0 CE Upgrade Problem5.0.1 -> 5.1.0 CE Upgrade Problem
Previous
 
Next
New Post
6/29/2009 4:49 PM
 

I copied my active site over to my development machine and got it up and running.  After verifying that everything worked okay, I starting doing a dry run of an upgrade.  This led to the error you'll find below.

The development machine is running Windows 7, IIS 7.5, SQL Server Express x64.  The production server is running Server 2008, IIS 7, SQL Server Std x64.  I've tried the dry run twice -- both times with the same results.  I have the ISS_WPG running under a domain user, which is added to IIS_IUSRS on my development machine.  I have reset the permissions on both inetpub and "My Website."   I'm not really sure where I should go from here, so any suggestions would be great!


Server Error in '/' Application.
Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (C:\inetpub\wwwroot\My Website\web.config line 172)

Source Error:

Line 170:    <httpModules>
Line 171:      <!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->
Line 172:      <add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" />
Line 173: <add name="RequestFilter" type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" />
Line 174: <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />


Source File: C:\inetpub\wwwroot\My Website\web.config    Line: 172


Version Information: Microsoft .NET Framework Version:2.0.50727.4918; ASP.NET Version:2.0.50727.4918

 
New Post
6/29/2009 4:51 PM
 

 disable AD provider in your portal and web.config prior to the upgrade and install latest version during/after install of the framework.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/29/2009 8:29 PM
Accepted Answer 

Negative, that did not work.

I tried the following:

  • Manually upgraded the ADSI provider during framework install by copying files into place
  • Upgraded ADSI provider then upgraded core
  • Uninstalled ADSI provider then upgraded core

All resulted in the same error.

However!  Changing the user for the App Pool to the default did work.

 
New Post
6/29/2009 8:59 PM
 

This is a fairly generic error that you can see for a number of security related issues, often related to trust level.  In order for your app pool user to have the permissions it needs, you have to run aspnet_regiis -ga "username" (or groupname).  Depending upon your file access restrictions, this may be all that is required.

Cheers


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...5.0.1 -> 5.1.0 CE Upgrade Problem5.0.1 -> 5.1.0 CE Upgrade Problem


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