• Login
  • Register

DNN Forums

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

Error after upgrading to DNN 9.5

You are not authorized to post a reply.
Sort:


Basic Member


Posts:36
Basic Member

    I did an upgrade from a very old system (DNN 5.x) to DNN 9.5.

    All seems ok except just a few things: pages, users and recycle bin. On these I get an API call error similar to this one:


        http://website/RunningOnFolder/API/PersonaBar/Pages/GetPageList?searchKey=

        {Message: "An error has occurred.",…}
            Message: "An error has occurred."
            ExceptionMessage: "The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'."
            ExceptionType: "System.InvalidOperationException"
            StackTrace: null
            InnerException: {Message: "An error has occurred.",…}
                Message: "An error has occurred."
                ExceptionMessage: "Object reference not set to an instance of an object."
                ExceptionType: "System.NullReferenceException"
                StackTrace: " en DotNetNuke.Entities.Tabs.TabInfo.get_FullUrl() ↵ en Dnn.PersonaBar.Pages.Components.Converters.ConvertToPageItem[T](TabInfo tab, IEnumerable`1 portalTabs) ↵ en System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() ↵ en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty) ↵ en Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType) ↵ en Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType) ↵ en System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.WriteToStream(Type type, Object value, Stream writeStream, Encoding effectiveEncoding) ↵ en System.Net.Http.Formatting.JsonMediaTypeFormatter.WriteToStream(Type type, Object value, Stream writeStream, Encoding effectiveEncoding) ↵ en System.Net.Http.Formatting.BaseJsonMediaTypeFormatter.WriteToStreamAsync(Type type, Object value, Stream writeStream, HttpContent content, TransportContext transportContext, CancellationToken cancellationToken) ↵--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- ↵ en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() ↵ en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ↵ en System.Web.Http.Tracing.ITraceWriterExtensions.d__24.MoveNext() ↵--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- ↵ en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() ↵ en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ↵ en System.Web.Http.WebHost.HttpControllerHandler.d__1b.MoveNext()"

     

    Seems to come from this call get_FullUrl() but cannot find the issue there.

    Any ideas?

     

    Vicenç Masanas
    Disgrafic ITec SL Banyoles - Spain


    Basic Member


    Posts:36
    Basic Member

      Here are the errors I see on pages, recycle bin and users.

      Vicenç Masanas
      Disgrafic ITec SL Banyoles - Spain


      Veteran Member


      Posts:425
      Veteran Member

        Did you upgrade in steps or in one go?


        Basic Member


        Posts:31
        Basic Member

          Do those pages even exist anymore on a fresh DNN install? Is that part of the problem, modules or something got removed from the page during upgrade, but broke the page?
          Christoc.com Software Solutions
          DNN since before it was DNN!
          Open Source Projects and Tutorials since 2003


          Advanced Member


          Posts:144
          Advanced Member

            I suggest comparing web.config with the one of a freshly installed DNN 9.5.0
            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