Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Upgraded to CMS 8.0

Vote:
 

After the upgrade i ran updated the database using the console manager script although when trying to run website i get the following error message

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

[No relevant source lines]


Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\8736a6fe\ed65b93\App_global.asax.0.cs    Line: 0

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   EPiServer.Common.Configuration.ConfigurationSectionBase`1.GetInstance(String sectionName) +257
   EPiServer.Common.Configuration.EPiServerCommonSection.get_Instance() +39
   EPiServer.Common.ImplementationModule.LoadCoreConfiguration() +43
   EPiServer.Common.Settings.LoadSettings() +196
   EPiServer.Common.InitializationModule.Initialize(InitializationEngine context) +48
   EPiServer.Framework.Initialization.<>c__DisplayClass5.b__4() +56
   EPiServer.Framework.Initialization.ModuleNode.Execute(Action a, String key) +73
   EPiServer.Framework.Initialization.ModuleNode.Initialize(InitializationEngine context) +141
   EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +253

[InitializationException: Initialize action failed for Initialize on class EPiServer.Common.InitializationModule, EPiServer.Common.Framework.Impl, Version=7.5.446.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7]
   EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +641
   EPiServer.Framework.Initialization.InitializationEngine.Initialize(HostType hostType) +247
   EPiServer.Framework.Initialization.InitializationModule.Initialize(HostType hostType) +574
   EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +78
   EPiServer.Global..ctor() +83
   Bdp.com._2014.EPiServerApplication..ctor() +42
   ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\8736a6fe\ed65b93\App_global.asax.0.cs:0

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +113
   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +232
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +83
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1136
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +128
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +18
   System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +60
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +260
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9950728
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
#119979
Apr 08, 2015 13:13
Vote:
 

Hi,

Is your website using CommonFramework in any mean? If not, it should be safe to remove dependencies on that.

Regards.

/Q

#119983
Apr 08, 2015 14:15
Vote:
 

Thank you, not quite sure how it got their. 


What is the issue with this Framwork and EPi 8.3? 

#119989
Apr 08, 2015 15:39
Vote:
 

Just seen this article which explains : http://world.episerver.com/documentation/Items/Upgrading/EPiserver-Commerce/8/Breaking-changes-Commerce-8/Removing-dependency-on-Common-Framework/

#119990
Apr 08, 2015 15:40
Vote:
 

hi Minesh,

I am handle the same problem. And i am using episerver mail so episerver mail depends on the common framework. 

Any sollution??

#149366
May 30, 2016 17:20
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.