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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...500 error after upgrade to 9500 error after upgrade to 9
Previous
 
Next
New Post
12/20/2016 10:41 AM
 

Hello, I just upgraded all my sites/portal from 8.04 to 9 and I get a 500 error. I turned on errors for a moment and get the error below. Anyone know what this might be? All my sites are down :D. I did back everything up but it will take many hours to restore the old one.

Thanks

Server Error in '/' Application.

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: 

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: 

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Web.Mvc.MvcHttpModule.SuppressXFrameOptionsHeaderIfPresentInConfig() +248
   DotNetNuke.Web.Mvc.MvcHttpModule.Init(HttpApplication context) +12
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +534
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +339
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

[HttpException (0x80004005): Object reference not set to an instance of an object.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9946132
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +90
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +261
 
New Post
12/20/2016 10:47 AM
 
I believe I experienced a similar problem and traced it a skin that need to be adjusted to support the services framework.

You might try modifying your skin page and making a call to ServicesFramework.Instance.RequestAjaxAntiForgerySupport();

It may clear it up.
 
New Post
12/20/2016 10:38 PM
 
After thinking about this I think I should update this... I never got to the upgrade, I copied the files and get a 500 before the upgrade ever ran.

Thanks
 
New Post
12/21/2016 12:58 AM
 
I restored back to the old version and its working again...

Thanks
 
New Post
12/21/2016 2:57 AM
 
I would wait with an upgrade at least until DNN 9.0.1

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...500 error after upgrade to 9500 error after upgrade to 9


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