• Login
  • Register

DNN Forums

A community discussion page. We're starting from scratch, so...let's get the party started!

Error DNNSharp AF after upgrade to DNN971

You are not authorized to post a reply.
Sort:


Basic Member


Posts:60
Basic Member

    We upgraded our DNN website to DNN 9.7.1. (with AF version 5.7.16) and now we get this error:
    
    [NullReferenceException: Object reference not set to an instance of an object.]
       DnnSharp.Common.InitCommonDlls.Utils.WebConfig..ctor() +155
       DnnSharp.Common.InitCommonDlls.AppStartup.ExecuteStartupTasks() +296
       DnnSharp.Common.InitCommonDlls.AppStartup.Initialize() +8
    
    [InvalidOperationException: The pre-application start initialization method Initialize on type DnnSharp.Common.InitCommonDlls.AppStartup threw an exception with the following error message: Object reference not set to an instance of an object..]
       System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +890
       System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +167
       System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +133
       System.Web.Compilation.BuildManager.ExecutePreAppStart() +178
       System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +746
    
    [HttpException (0x80004005): The pre-application start initialization method Initialize on type DnnSharp.Common.InitCommonDlls.AppStartup threw an exception with the following error message: Object reference not set to an instance of an object..]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +552
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +122
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +737

    Looks like the latest version of DNNSharp Action Form isn't compatible with DNN 9.7.1.

    I assume DNNSharp will release a fix within the next days



    Veteran Member


    Posts:643
    Veteran Member

      Go back and check the release notes for 9.7.1. There was a problem that surfaced after release, and a work-around has been posted. I don't know if this problem is the one affecting you, but you should check.

      You should also contact support at DNNSharp regarding this issue. They should be able to help you, including updating the module if that is necessary. (I would say don't make assumptions, but make sure that they know about this.)
      Joe Craig
      DNN MVP
      Patapsco Research Group


      Basic Member


      Posts:60
      Basic Member

        Reaction of DNNSharp:

        We were able to reproduce that there are issues with our products and 9.7.
        A fix for the issue you mention is possible late next week at the earliest and maybe as long as several weeks away.
        You are not authorized to post a reply.

        These Forums are dedicated to discussion of DNN Platform.

        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.

        Would you like to help us?

        Awesome! Simply post in the forums using the link below and we'll get you started.

        Get Involved