DNN Forums

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

9.6.1 DotNetNuke.dll debugging?

 7 Replies
 2 Subscribed to this topic
 28 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 9
New Around Here

We are running 9.6.1 and the DNN_Platform_9.6.1_Symbols.zip file doesn't contain the pdb for it?

Something keeps calling SP dbo.UpdateUser and wiping out a single users first & last name when they are logon, every 20 min, not 18 or 19 or 21, 20 min within a second or 2.  So I am try to figure out what could be calling DotNetNuke.Data.DataProvider.UpdateUser(...), that calls  ExecuteNonQuery("UpdateUser",...).  I know we could re-write the SP to stop it from setting this users name to "" but that doesn't seem like the correct or a good fix.

Thanks.

 

Veteran Member
Posts: 349
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
If it happens on a precise timing, I would guess some Scheduled Task does it. Look for Scheduled Tasks that may have to relation to users, or disable them all and re-enable them one at a time until it happens to pinpoint which one is doing it.

The second thought is that by default 20 minutes is the normal time to keep an app alive if unused in IIS. So it could be something that happens on startup if it is not caused by any scheduled task.

I would certainly not edit any code that will be overridden upon upgrades and also I would work towards upgrading to latest DNN before even trying to pinpoint that bug.
New Around Here
Posts: 9
New Around Here
If it is a Scheduled Job, should it be logged in the ScheduleHistory table? So far, nothing has stranded out.
Veteran Member
Posts: 349
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
Well it depends how it was coded and stuff. But overall I would check if you have non-default items in Scheduler and turn them off to test if it still happens. Then if it fixes it, turn them one one at a time until the problem appears again and you have a clue about which might be doing it.
Advanced Member
Posts: 132
Advanced Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
2 Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
If exactly at 20 minutes, you may want to look for any code that is session related or cache related in custom code as the standard timeouts are 20 minutes
New Around Here
Posts: 9
New Around Here
Looks like it is try to re-logon the user every 20 min. But we are only having one user first/last name switch to ''. I see in DotNetNuke.Security.PortalSecurity.InputFilter can change the string but still not sure why it would pick this one user to make '', if that is doing it.
Veteran Member
Posts: 349
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
I wonder if it could have something to do with ProfanityFilter.
If you run `SELECT * WHERE ListName = 'ProfanityFilter'`in sql console or SSMS, do you see similarities between that specific user name and anything in the results from that list? Or does the user name look like anything weird that may be confused with some javascript?
New Around Here
Posts: 9
New Around Here
In 9.6.1 DotNetNuke.Security.Membership.UpdateUser(UserInfo user) is using the below, so NoProfanity shouldn't be in play.

string firstName = objSecurity.InputFilter(user.FirstName,
PortalSecurity.FilterFlag.NoScripting |
PortalSecurity.FilterFlag.NoAngleBrackets |
PortalSecurity.FilterFlag.NoMarkup);
string lastName = objSecurity.InputFilter(user.LastName,
PortalSecurity.FilterFlag.NoScripting |
PortalSecurity.FilterFlag.NoAngleBrackets |
PortalSecurity.FilterFlag.NoMarkup);

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