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 ...4.8. Upgrade Causes Value cannot be null Parameter name: replacement4.8. Upgrade Causes Value cannot be null Parameter name: replacement
Previous
 
Next
New Post
1/2/2008 11:50 AM
 

 I just upgraded my local copy to 4.8.0 and the only way I could get past the Value cannot be null  Parameter name: replacement error was to remove the  Authentication section for the DotNetNuke.Authentication.ActiveDirectory from the httpModules in the web.config. I have not done our development server yet and am wondering if this is specific to the local enviroment.

I thought this was a required section, can someone shed some light?

Server Error in '/EFTPortal' Application.
--------------------------------------------------------------------------------

Value cannot be null.
Parameter name: replacement
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: replacement

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: replacement]
   System.Text.RegularExpressions.Regex.Replace(String input, String replacement, Int32 count, Int32 startat) +2223611
   System.Text.RegularExpressions.Regex.Replace(String input, String replacement) +46
   System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement, RegexOptions options) +46
   DotNetNuke.UI.Skins.SkinController.FormatSkinSrc(String SkinSrc, PortalSettings PortalSettings) +117
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +2922
   DotNetNuke.Common.Globals.GetHostPortalSettings() +216
   DotNetNuke.Common.Globals.GetPortalSettings() +79
   DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule.Init(HttpApplication application) +198
   System.Web.HttpApplication.InitModulesCommon() +66
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +814
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +243
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +340

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

 

 
New Post
1/2/2008 12:34 PM
Accepted Answer 

Mike Horton - project lead for the Authentication Providers including Active Directory has blogged about this.

In short, if you are using the Active Directory Http Module you cannot upgrade to 4.8.0 without upgrading the provider - (keep an eye on Mike's blog for when an upgraded version will be available)


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.8. Upgrade Causes Value cannot be null Parameter name: replacement4.8. Upgrade Causes Value cannot be null Parameter name: replacement


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