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 ...UpgradeError from 04.05.05 to 04.08.00 UpgradeError from 04.05.05 to 04.08.00
Previous
 
Next
New Post
1/8/2008 1:51 PM
 

Dear dnn-fellows

Can anyone help me... When I upgrade a 04.05.05 dnnsite to a 04.08.00 site the following errors occured.

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) +2768503
   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) +261
   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) +1304
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +82
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3306
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
1/8/2008 5:48 PM
 

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/9/2008 12:21 AM
 

Hi William

Like you've suggested I've removed the following .dll files.

DotNetNuke.Authentication.ADSI.dll
DotNetNuke.Authentication.ADSIProvider.dll
DotNetNuke.DNNScheduler.dll
DotNetNuke.HttpModules.Authentication.dll
DotNetNuke.HttpModules.Compression.dll
DotNetNuke.HttpModules.DNNMembership.dll
DotNetNuke.HttpModules.Exception.dll
DotNetNuke.HttpModules.HttpPersonalisation.dll
DotNetNuke.HttpModules.UrlRewrite.dll
DotNetNuke.Modules.UsersOnline.dll
DotNetNuke.Provider.DBLoggingProvider.dll
DotNetNuke.Provider.Membership.SqlDataProvider.dll

Three .dll files I've not found. Perhaps these are .dll files that comes with versions between 04.05.05 and 04.08.00
DotNetNuke.Provider.SQLMembershipProvider.dll
DotNetNuke.Provider.SQLProfileProvider.dll
DotNetNuke.Provider.SQLRoleProvider.dll

Here you can see the upgrading process of the database. That seems OK

Upgrading DotNetNuke
Current Assembly Version: 04.08.00
Current Database Version: 04.05.05

Upgrade Status Report
00:00:00.015 - Upgrading to Version: 4.8.0
00:00:00.093 -   Executing Script: 04.06.00.SqlDataProvider Success
00:00:01.031 -   Executing Script: 04.06.01.SqlDataProvider Success
00:00:01.062 -   Executing Script: 04.06.02.SqlDataProvider Success
00:00:01.093 -   Executing Script: 04.07.00.SqlDataProvider Success
00:00:01.671 -   Executing Script: 04.08.00.SqlDataProvider Success
00:00:01.796 - Performing General Upgrades
00:00:01.968 - Installing Package File LiveID_01.00.00_Install:  Success
00:00:02.578 - Installing Package File OpenID_01.00.00_Install:  Success

Upgrade Complete
Click Here To Access Your Portal

When I acces my portal the following errors occurs.

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) +2768503
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582
   DotNetNuke.Services.Scheduling.SchedulingProvider.CreateProvider() +39
   DotNetNuke.Services.Scheduling.SchedulingProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Services.Scheduling.SchedulingProvider' threw an exception.]
   DotNetNuke.Services.Scheduling.SchedulingProvider.get_SchedulerMode() +0
   DotNetNuke.Common.Initialize.StartScheduler() +8
   DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +444
   DotNetNuke.Common.Initialize.Init(HttpApplication app) +125
   DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +162
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Can anyone help me further please?...


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
1/9/2008 1:50 PM
 

I would try to add the DotNetNuke.DNNScheduler.dll File back into your site as that is one that is there with a clean 4.7.0 and 4.8.0 installation.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
1/10/2008 12:48 AM
 

Mitch is absolutely correct - DotNetNuke.DNNScheduler.dll - is an essential file that should be there.  The file DotNetNuke.DNNScheduler.SqlDataProvider.dll included in the list I provided is a different one which can be removed as it is no longer needed.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...UpgradeError from 04.05.05 to 04.08.00 UpgradeError from 04.05.05 to 04.08.00


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