DNN Forums

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

Page Permission Caching issue

 10 Replies
 4 Subscribed to this topic
 37 Subscribed to this forum
Sort:
Page 1 of 212 > >>
Author
Messages
New Around Here Send Private Message
Posts: 21
New Around Here

We are experiencing an unusual problem in our production environment where changes(page permissions) made on one server are not being reflected on another server for a period of 15-20 hours. It is possible that the changes are only taking effect after the application pool is restarted or some other action is taken.

I am wondering if there might be a configuration setting which can solve this, restart application solves it but we can not do it after every changes.

Thanks

Advanced Member Send Private Message
Posts: 250
Advanced Member
Is this Evoq or Platform, what caching provider is used in Servers -> Performance ?
New Around Here Send Private Message
Posts: 21
New Around Here

This is Platform, and i have tried multiple combination from Server->Performance from but no luck, please fine below recent one

Advanced Member Send Private Message
Posts: 250
Advanced Member
Ok cool, that looks like what I would use, however I don't do multi-server so hoping someone else can help :)
Growing Member Send Private Message
Posts: 125
Growing Member
By no means an expert, but here are some things to consider:
1. Is IIS configuration same on each server ? Like making sure worker process in application pool set to 1
2. Is only issue with page permissions ? Are other “farm” features working correctly?
3. Have you tried changing cache provider to “web request cache provider”?
4. File change notifier. Is it set up on each server?
5. Cache synchronization handler. Is it configured in web(dot)config? Do you see calls to it in iis logs? With success/error 200?
Growing Member Send Private Message
Posts: 50
Growing Member
AIUI multiple servers - aka a web farm - is not a supported configuration for platform.

So there are no promises for cross server synchronization.
Advanced Member Send Private Message
Posts: 250
Advanced Member
I have seen it work but it is a complex setup, you need file replication of some sort, a load balancer and a caching provider than can invalidate cache everywhere. The purpose of the SimpleWebFarmCachingProvider is exactly to make those scenarios work on Platform. Corp used to have some documentation if you try to google (Dnn wefarm setup), I don't know hom maintained that documentation is, but I remember it used to explain how to setup for caching, scheduling, etc.
New Around Here Send Private Message
Posts: 21
New Around Here

Thanks @johnhenley 

1. Is IIS configuration same on each server ? Like making sure worker process in application pool set to 1
JAS> yes its same for all servers.
2. Is only issue with page permissions ? Are other “farm” features working correctly?
JAS> Mostly related to page management e.g. add/udpate, permissions etc.
3. Have you tried changing cache provider to “web request cache provider”?
JAS>Yes, i have tried that too.
4. File change notifier. Is it set up on each server?
JAS>We have one shared file server for all web server.
5. Cache synchronization handler. Is it configured in web(dot)config? Do you see calls to it in iis logs? With success/error 200?
JAS>Yes, that's configured. i dont see any info in admin logs, need to check IIS logs.

New Around Here Send Private Message
Posts: 21
New Around Here

Thanks Daniel Valadas 

SimpleWebFarmCachingProvider might do the trick, for now i have same URL for all the servers, may be that's where i am missing. Let me try to add different URL for each server so they can call separately.

Senior Member Send Private Message
Posts: 1575
Senior Member
I would just add on that if you aren't already upgraded o the most current version of DNN, you should upgrade DNN first. 😉
Page 1 of 212 > >>

These Forums are dedicated to the 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. 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