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.1 Upgrade Problem - 4.8.1 Upgrade Problem -
Previous
 
Next
New Post
3/6/2008 5:18 AM
 

I have just attempted to upgrade my staging environment from v4.4.0 to V4.8.1 and I got the following error:

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) +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

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

 

I have done a couple of upgrades already (localhost and development environment, both v4.4.0 -> v4.8.1) and they have gone very smoothly.

Any idea's what I could have doen wrong?

My guess is that it is something in the web.config, but how do I figure it out?


Blue & White hooped blood runs through my veins!
 
New Post
3/6/2008 9:24 AM
 

Is this a database problem?

The last set of errors refer to SP's such as get_Users and GetPortalSettings although the PortalID parameter is missing from the error.

I am really stuck as to even know where to start with this and because it's in my staging environment, i am not in a position to keep trying changes until it works.

Any pointers as to where to start?

 


Blue & White hooped blood runs through my veins!
 
New Post
3/6/2008 10:09 AM
 

Have you found an answer to this I am having the same problems in 4.5.4 install - looks like almost the same places - i ran through my web.config and cant see any real differences in the 4.8.1 that would cause it but I am not the expert there


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
3/6/2008 10:38 AM
 

No I am still desparately hoping someone out there might at least give me an idea where to start looking!!!


Blue & White hooped blood runs through my veins!
 
New Post
3/6/2008 10:53 AM
 

I have kind of the same problem too, I installed a fresh copy of DotNetNuke 4.8.1 code, the installation was successful. when I ran the project I had a this unhandled exception at this line:

 

objObject = Nothing

objCache.Insert(CacheKey, objObject, d, AbsoluteExpiration, SlidingExpiration, Priority, OnRemoveCallback)

Inside this file C:\Inetpub\wwwroot\DotNetNuke\Library\Providers\CachingProviders\FileBasedCachingProvider\FileBasedCachingProvider.vb

System.ArgumentNullException was unhandled by user code
  Message="Value cannot be null.
Parameter name: value"
  ParamName="value"
  Source="System.Web"
  StackTrace:
       at System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic)
       at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace)
       at System.Web.Caching.Cache.Insert(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration)
       at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String CacheKey, Object objObject, CacheDependency objDependency, DateTime AbsoluteExpiration, TimeSpan SlidingExpiration, Boolean PersistAppRestart) in C:\Inetpub\wwwroot\DotNetNuke\Library\Providers\CachingProviders\FileBasedCachingProvider\FileBasedCachingProvider.vb:line 181
       at DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject, TimeSpan SlidingExpiration, Boolean PersistAppRestart) in C:\Inetpub\wwwroot\DotNetNuke\Library\Components\Providers\Caching\DataCache.vb:line 246
       at DotNetNuke.Entities.Portals.PortalController.GetPortal(Int32 PortalId) in C:\Inetpub\wwwroot\DotNetNuke\Library\Components\Portal\PortalController.vb:line 1228
       at DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) in C:\Inetpub\wwwroot\DotNetNuke\Library\Components\Portal\PortalSettings.vb:line 608
       at DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) in C:\Inetpub\wwwroot\DotNetNuke\Library\Components\Portal\PortalSettings.vb:line 551
       at DotNetNuke.Common.Globals.GetHostPortalSettings() in C:\Inetpub\wwwroot\DotNetNuke\Library\Components\Shared\Globals.vb:line 734
       at DotNetNuke.Common.Globals.GetPortalSettings() in C:\Inetpub\wwwroot\DotNetNuke\Library\Components\Shared\Globals.vb:line 779
       at DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule.Init(HttpApplication application)
       at System.Web.HttpApplication.InitModulesCommon()
       at System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers)

I think it is a skinning problem? please help!!

Abdulkareem

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.8.1 Upgrade Problem - 4.8.1 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