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...Administration ...Administration ...Non-Existent Users Causing Errors When Trying to View ProfileNon-Existent Users Causing Errors When Trying to View Profile
Previous
 
Next
New Post
11/29/2014 8:55 AM
 

I am seeing a number of errors when someone tries to go to a non-existent profile (at least that's what I think they are doing).  I haven't been able to confirm the activity, I am just seeing the issues in the event log.

The first error is this one:

ModuleId:582
ModuleDefId:181
FriendlyName:Display Name
ModuleControlSource:DesktopModules/Admin/ViewProfile/ViewProfile.ascx
AssemblyVersion:7.3.4
PortalID:0
PortalName:Myrtle Beach Golf Talk
UserID:-1
UserName:
ActiveTabID:117
ActiveTabName:Activity Feed
RawURL:/tabid/117/userid/2162/pageno/1/default.aspx
AbsoluteURL:/Default.aspx
AbsoluteURLReferrer:
UserAgent:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.0.3705)
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:f71ef007-f428-4e14-a605-2a8040df269e
InnerException:Object reference not set to an instance of an object.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:DotNetNuke.Modules.Admin.Users.ViewProfile.
StackTrace:
Message:
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.Users.ViewProfile. (EventArgs e) --- End of inner exception stack trace ---

I have confirmed that user 2162 has been deleted and purged from the system.  They do not exist in the Users table in the database.  Then there are about three of these errors:

AssemblyVersion:7.3.4
PortalID:0
PortalName:Myrtle Beach Golf Talk
UserID:-1
UserName:
ActiveTabID:117
ActiveTabName:Activity Feed
RawURL:/Default.aspx?tabid=117&def=ErrorMessage
AbsoluteURL:/Default.aspx
AbsoluteURLReferrer:
UserAgent:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.0.3705)
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:bba6aac3-6720-4751-9c2f-3ddefe93de69
InnerException:Not Found
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:DotNetNuke.Modules.Admin.Users.ViewProfile.OnInit
StackTrace:
Message:
System.Web.HttpException (0x80004005): Not Found
   at DotNetNuke.Modules.Admin.Users.ViewProfile.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at System.Web.UI.ControlCollection.Add(Control child)
   at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content)
   at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at DotNetNuke.UI.Containers.Container.get_ModuleControl()
   at DotNetNuke.UI.Containers.Container.ProcessModule()
   at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module)
Source:

The weird thing is if I try and go to the URL - /tabid/117/userid/2162/pageno/1/default.aspx, I get re-directed to my profile page and the series of errors is different and there are more of them.  Also my user id is identified with the error.  And if you are not logged in, you can't access the users profile by clicking on them in the forum, so I don't know where the link is coming from.  Also the user agent string on some of them seems really funny to me, like the client is trying to emulate every client out there:

Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36

 Has anyone seen anything like this?  I am getting pages and pages of these errors every day (I cleared the event logs yesterday and I have 9 pages this morning).


-----
Cheers
Dave
 
New Post
11/29/2014 10:33 AM
 
I havent seen it, but we did accept a few pull requests that were designed to return 404's for invalid/deleted users, perhaps one of them isnt working exactly as it should. Please log it to support.dnnsoftware.com so we can investigate further.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
11/30/2014 5:23 PM
 
Cathal,

Thanks for suggesting this. I put it up and as it turns out, it was the fact that the profile pages were set to All Users for permissions instead of Registered Users. Once I did that, all of the errors went away as it was unauthorized users trying to connect to the deleted users. I'll continue working with Sebastian on it, although the crisis is over (although I did find something else...)

-----
Cheers
Dave
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Non-Existent Users Causing Errors When Trying to View ProfileNon-Existent Users Causing Errors When Trying to View Profile


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out