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 ForumsForumForumForum ErrorForum Error
Previous
 
Next
New Post
6/22/2006 8:56 AM
 

Where is a good place to look up information on FileBasedCachingProvider vs BroadcastPollingCachingProvider?

Since changing it over to Broadcast, the whole system seems noticably more sluggish (I was commenting on how much faster 4.3 was the other day)...

Also, since changing it over, I can now view the forum (without the above errors), but I now I get this error when I click on Moderate (worked fine with another account):

A critical error has occurred.
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_ModuleSettings_Modules". The conflict occurred in database "C:\DNN\APP_DATA\DATABASE.MDF", table "dbo.Modules", column 'ModuleID'. The statement has been terminated.

A search of the forums showed this error, but it was always fixed with an upgrade to the newest version.  Since I "have" the newest version, that fix isn't available.

So, do you think it is a problem with the software or is my system is so screwed up that it is unsalvagable?

 

 

 
New Post
6/25/2006 10:39 AM
 

I have the exact same error:

A critical error has occurred.
The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

New users are fine, Admin and host accounts are fine. This is a fresh install of 3.2.6 on a 4.0.3 installation. I don't have many users, but I can't ask them to register again as many of them already have blogs established.

I could really use some help on this.


Icthus Technologies

Building Faith on the Internet
 
New Post
6/25/2006 10:42 AM
 
Just discovered that if I remove the checkmark from "Enable Navigator" everything works.

Icthus Technologies

Building Faith on the Internet
 
New Post
6/26/2006 11:14 PM
 
Crispy wrote

This error is actually a core error related to the cache polling provider. I would have to dig up the fix for this, but I know it is a topic that was in here after the 3.10.04 release of the module.

The worst part about this is that once I started doing more research on this I discovered that "I" was the one originally reporting this back in February, and you had answered it then.  Excuse me while I slap myself on the forehead.

 
New Post
6/27/2006 7:58 AM
 

jhoelz wrote
Just discovered that if I remove the checkmark from "Enable Navigator" everything works.

I've been playing around with this, and you are correct.  I changed my web.config back to FileBasedCachingProvider, and removed the checkmark from "Enable Navigator", and it showed up again.

However, now the "My Settings" dies....

An error has occurred.
Error: User Settings is currently unavailable.

*sigh*  One thing after another... 

I've been looking into the FileBasedCachingProvider mode vs the BroadcastPollingCachingProvider mode...  There doesn't seem to be a lot of information out there on this, it seems to be a specifically DNN setting.  While I don't have a web farm set up here, this particular setting does seem to have quite an effect.

Here is the description from the documentation:

1. File-Dependency Based Caching Provider. In this provider implementation, if web farm support is enabled, just before an item is added to the cache, a file is created in the  /Portals/_default/Cache” directory. That file represents a file dependency for the specific cached item (the filename is a Base64 encoded string [minus the “/” character] that is derived from the cache key). The filename needs to be encoded in case the cache key is of a different character set that is incompatible with file naming conventions.

When another server adds the same item to the cache, it checks to see if the dependency file has already been created. If it has not been created, it creates the dependency file. It then adds the item to the cache with a file dependency on the file that was created. When any web server removes the item in the cache, the file is removed as well. When the dependency file is removed, all web servers with the same item in the cache will invalidate those cached items and remove them from the cache. A scheduled task cleans up the cache directory periodically (default is every 2 hours), deleting any cache dependency files that have no keys in memory any longer (on the machine that the scheduled task is currently running on) and were created more than “x” hours ago (perhaps 2 hours). This prevents Server A from deleting a recently cached item that is being used by Server B.

2. Broadcast/Polling Based Caching Provider. This implementation of the provider uses a database to broadcast messages to the other servers. Each server in the web farm polls the database every 30 seconds to check for any cached items that need to be removed from the cache.

This implementation of the API is for use in configurations where a central file server is not used (i.e. using file replication services instead) or in configurations where “more database activity” is preferred over “more file input/output activity”. Note, enabling this implementation of the caching provider in a dense hosting environment may cause heavy of database activity. Keep this in mind when choosing the implementation of the caching provider.

Maybe it is just me, but my website does seem to be substantially faster in the FileBased mode.

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumForum ErrorForum Error


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