DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Upgrade issue: No Persona Bar Content

 13 Replies
 3 Subscribed to this topic
 33 Subscribed to this forum
Sort:
Page 1 of 212 > >>
Author
Messages
Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!

I upgraded a site from 8.0.4 to 9.3.2.

No errors were logged in InstallerLog20190625.resources.

When I login as superuser, the Persona Bar appears, but there is no content in it.

What should I be looking for?

There are other errors related to modules that need upgrading, but should this be an issue?  When browsing the site, things look "normal.

Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
I'm seeing errors like this:

LogType = PAGE_LOAD_EXCEPTION

AbsoluteURL = /Default.aspx
DefaultDataProvider = DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID = f9d2a3db-0585-403e-b366-8640b82752dd
LogGUID = d53478a9-4945-4a56-92e2-f65535a2dd5c
LogTypeKey = PAGE_LOAD_EXCEPTION
LogConfigID = 6
LogPortalID = 0
LogServerName = VPS23364
LogNotificationPending = True
LogEventID = 214293
ExceptionHash = jiZe1C4H79NhKfK2lyeYh8koQZk=
Message = Unhandled error loading page.
InnerMessage = Object reference not set to an instance of an object.
InnerStackTrace = at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters)
at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc)
at DotNetNuke.UI.Skins.Skin.LoadSkin(PageBase page, String skinPath)

The page seems to load fine, though. Could this be affecting the Persona Bar?
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
There are a number of things that could cause this. Most commonly, I've seen older themes be the culprit. Especially if any of the content panes are TD's instead of DIV's.

Have you tried using a different theme to see if there's a different result? Are you seeing any errors in the web developer console?
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Here are the most common troubleshooting steps I use for persona issues:

  • Delete the .resources file in the following folder (it regenerates):  ~\DesktopModules\Admin\Dnn.PersonaBar\Resources
  • Replace any TD content panes with DIV content panes
  • Reapply file system permissions on the server
  • Check the web.config for any entries that might be conflicting and/or otherwise blocking web service calls
  • Try to troubleshoot it on a page with a different theme and container applied to it
Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
Yes, I think it must be related to the theme. The site had Porto 4.0.7. I need to get a newer them installed and see if that helps.
Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!

No errors in the Console.

Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
Thanks for the suggestions, Will.

Delete the .resources file in the following folder (it regenerates): ~\DesktopModules\Admin\Dnn.PersonaBar\Resources

There's no Resources folder. There's App_LocalResources. Is that what you meant

Replace any TD content panes with DIV content panes

That's not the case either for Porto or Xcillion.

Reapply file system permissions on the server

No change

Check the web.config for any entries that might be conflicting and/or otherwise blocking web service calls

Mind you I have no idea what I'm looking for. That said, I didn't see anything.

Try to troubleshoot it on a page with a different theme and container applied to it

I switched a page to use the Xcillion theme. No change.

On a page with Porto as the theme I get:

2019-06-25 19:11:42,872 [VPS23364][Thread:28][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.NullReferenceException: Object reference not set to an instance of an object.
at Mandeeps.DNN.Skins.Porto.Home.OnInit(EventArgs e)

2019-06-25 19:12:04,356 [VPS23364][Thread:29][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.NullReferenceException: Object reference not set to an instance of an object.
at Mandeeps.DNN.Skins.Porto.Home.OnInit(EventArgs e)


On a page with Xcillion I don't get that error ... but I still don't get the Persona Bar working.

----------
Now, where would I look to see if webservice calls are being blocked?
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Posted By Joe Craig on 25 Jun 2019 08:27 PM
Thanks for the suggestions, Will.

Now, where would I look to see if webservice calls are being blocked?

Look into the request filtering section of the web.config, and anywhere else where the URL handling is being managed (inside of DNN and out).

Example:  https://stackoverflow.com...e-web-api-return-401

Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!

I sat down with WinMerge, and the web.config files from the installation in question and a fairly clean 9.3.2 site.  I went through and made sure that installation site was as much in agreement with 9.3.2 as it could reasonably be.

The site still loads, but there is still no persona bar content.

What would HisMightiness suggest next?  How do I watch/debug  or see logs related to the webservices calls?

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Posted By Joe Craig on 26 Jun 2019 11:54 AM

I sat down with WinMerge, and the web.config files from the installation in question and a fairly clean 9.3.2 site.  I went through and made sure that installation site was as much in agreement with 9.3.2 as it could reasonably be.

The site still loads, but there is still no persona bar content.

What would HisMightiness suggest next?  How do I watch/debug  or see logs related to the webservices calls?

I generally use Fiddler to inspect and troubleshoot web service and other website HTTP traffic.

Page 1 of 212 > >>

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. 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