Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsUsers OnlineUsers OnlineUsersOnline Not PopulatingUsersOnline Not Populating
Previous
 
Next
New Post
2/12/2008 1:49 PM
 

I'm clueless here.

Mine started working a coupla days after my last post. Did anyone out there do something that can effect everyones module ?

I did go into the purge thingy and changed some numbers. It didn't seem to have an effect so I changed them back and the next thing I know it started woking again.

Is there anybody out there with a clue know what's up ?

 
New Post
2/15/2008 5:06 PM
 

Users online has been broken for me for about 5 months, I've deleted the module, reinstalled it, turned on and off the scheduler, etc.... and it still doesn't work. It looks like no one is working on this module, is there another module you can buy on Snowcovered to replace it?

 
New Post
2/18/2008 2:36 PM
 

Not to be a broken record, but I'm having the same problem with one host  but with not on another using the same DNN version.   Has anyone stumbled on a solution?

Jill

 
New Post
2/18/2008 11:35 PM
 

DNNSpired.com wrote
...Sorry we could not help further. We will continue our quest to find an answer.

Well, we finally found the bug causing the DNN UsersOnline module to not update as expected. WhooHoo!!  This bug does not occur for everyone, which made it more difficult to find.

But we have Good News and some not so Good News.

First the good news: We have corrected the problem caused by the DotNetNuke.HttpModules.dll that updates the UsersOnline table. 

Not so Good News: Yep, I said the DotNetNuke.HttpModules.dll, which is a core dll. However, it is not as bad as it sounds. This problem is fixable with Host account access to install our FREE New UsersOnline module with our New dll and by making a small change to your web.config file to use our dll. We have submitted the corrected code to the Core Team. The additional Good News is you get a FREE New UsersOnline module with added features.

In short, the problem lies in the DotNetNuke.HttpModules.dll where the UsersOnline part of that dll does not account for a userid = 0 when attempting to update the UsersOnline table. Any time the userid = 0 it caused an foreign key constraint error which is not being caught in an error handler and ultimately caused the UsersOnline update routine to complete improperly.

So enough with the techie stuff, if you are experiencing an Users Online updating problem then here is how you can fix it.

  1. Download our FREE Users Online With Roles module here: FREE! Download Repository. We made a post today in Announce It forum announcing the release of our New UsersOnline module which will give more info about the new features our module offers: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/112/threadid/205959/scope/posts/Default.aspx

    Note: There are 2 different versions available. One version is for DNN 322 & lower which shows Username. The other version is for DNN 323 & higher which shows the DisplayName. 
  2. Install our module with your Host account on your portal, friendly name is DS_User Online With Roles
  3. Change the highlighted line in your web.config as shown below

    In the web.config the highlighted line needs to be changed. 

    ORIGINAL:
    <system.web>
         <httpModules>
          <!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->
          <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
          <add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" />
          <add name="RequestFilter" type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" />
          <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />
          <add name="Exception" type="DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules" />
          <add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnline.UsersOnlineModule, DotNetNuke.HttpModules" />
          <add name="DNNMembership" type="DotNetNuke.HttpModules.Membership.MembershipModule, DotNetNuke.HttpModules" />
          <add name="Personalization" type="DotNetNuke.HttpModules.Personalization.PersonalizationModule, DotNetNuke.HttpModules" />
        </httpModules>

    NEW:          
    <system.web>
         <httpModules>
          <!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->
          <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
          <add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" />
          <add name="RequestFilter" type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" />
          <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />
          <add name="Exception" type="DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules" />
          <add name="UsersOnline" type=" DNNSpired.Entities.Users.DSUserOnlineModule, DNNSpired.DNN.Modules.UsersOnlineWithRoles " />
          <add name="DNNMembership" type="DotNetNuke.HttpModules.Membership.MembershipModule, DotNetNuke.HttpModules" />
          <add name="Personalization" type="DotNetNuke.HttpModules.Personalization.PersonalizationModule, DotNetNuke.HttpModules" />
        </httpModules> 
  4. Load the DS_UsersOnline With Roles module on your page and away you go.



Very glad we could help out.

 


 
New Post
2/22/2008 7:03 AM
 

Hi

Thanks.. Really Appriciated :-) but...  I'm not noob nor pro but I can't get it working..

DotNetNuke.Entities.Users.PurgeUsersOnline, DOTNETNUKE is running. Newest version is downloaded from link and Webconfig is changed.

No Luck. Reboot of application and IIS reset didn't help either.

Any Idea where I should look for the error?

Bo :-)

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsUsers OnlineUsers OnlineUsersOnline Not PopulatingUsersOnline Not Populating


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out