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 from version 04.05.01 to 04.06.02 then 04.08.04Upgrade from version 04.05.01 to 04.06.02 then 04.08.04
Previous
 
Next
New Post
8/17/2008 10:20 AM
 

I have a portal version 04.05.01 that we would like to upgrade to 04.08.04. Tried upgrading to newest version and received errors two seperate times. Did some research and found some suggestions to upgrade to 04.06.02 first and then go to 04.08.04. When doing the 04.06.02 upgrade made sure that the Connection Strings and Machine Key were copied from the original web.config but the error still occured. Have upgraded many portals in the past but never had any problems, this one is giving me a headache. I have included the error message if someone could give any suggestions on how to fix this it would be very much appreciated.

Thanks,
James

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

Value cannot be null.
Parameter name: type
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: type

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: type]
System.Activator.CreateInstance(Type type, Boolean nonPublic) +2843963
DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582
DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) +17
DotNetNuke.Security.Membership.Data.DataProvider.CreateProvider() +38
DotNetNuke.Security.Membership.Data.DataProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.Data.DataProvider' threw an exception.]
DotNetNuke.Security.Membership.Data.DataProvider.Instance() +0
DotNetNuke.Security.Membership.AspNetMembershipProvider..cctor() +5

[TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.AspNetMembershipProvider' threw an exception.]

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +268
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582
DotNetNuke.Security.Membership.MembershipProvider.CreateProvider() +38
DotNetNuke.Security.Membership.MembershipProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Security.Membership.MembershipProvider' threw an exception.]
DotNetNuke.Security.Membership.MembershipProvider.Instance() +0
DotNetNuke.Entities.Users.UserController..cctor() +5

[TypeInitializationException: The type initializer for 'DotNetNuke.Entities.Users.UserController' threw an exception.]
DotNetNuke.Entities.Users.UserController.GetUserCountByPortal(Int32 portalId) +0
DotNetNuke.Entities.Portals.PortalInfo.get_Users() +17
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +1302
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2874
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 


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

 
New Post
8/17/2008 3:21 PM
 

I'm not quite sure why your getting an error.  Have you seen this blog from Mitch Sellers?  It has some good information on the upgrade process....http://www.mitchelsellers.com/blogs/articletype/articleview/articleid/120/upgrade-to-dotnetnuke-455-from-4x.aspx

And I generally always use the install package and not the upgrade package.  I also keep the orginal install web.config and copy from the old web.config to the new web.config my connection string, application string, machine key, code subdirectories and my large file upload string.

Hope this helps.
Jerry

 
New Post
8/19/2008 11:31 AM
 

Thanks for replying Jerry. Yes I've looked at Mitch's site, that is where I found the suggestion to go from 4.5 to 4.6 then to 4.8. Something about this portal is causing the problem and I can't seem to figure it out. I have performed several DNN upgrades without a hitch but this one is a pain. I did use the upgrade version of DNN, I guess I will try the install version and see if that makes any difference.

Thanks again,
James

 
New Post
8/19/2008 11:44 PM
 

I was looking over your original post...did you also copy your application string too?  Hope you have better luck with the install package.

Jery

 
New Post
8/20/2008 8:36 AM
 

Thanks Jerry for replying. Yes the application string was copied. Looking thru the web.config file I did notice that it contained a CodeSubDirectories Section that had "Survey". According to Mitchel Sellers blog that should be copied also, which I did not do. Mithcel's blog claimed this was for C# modules and looking at the Survey module under DesktopModules it looks to be the Core module which is VB. Could this possibly be the problem with the error I posted above?

Thanks again for any help,
James

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade from version 04.05.01 to 04.06.02 then 04.08.04Upgrade from version 04.05.01 to 04.06.02 then 04.08.04


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