Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Cache Master Mo...Cache Master Mo...Error in DNN 5.6.3Error in DNN 5.6.3
Previous
 
Next
New Post
9/10/2011 2:48 PM
 
Hi,
I've installed Cache Master on DNN 5.6.3, but the module fail to display with this error.
Somebody have the solution ?
Thank you.

Method: DotNetNuke.Collections.Internal.SharedDictionary`2.EnsureReadAccess
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> DotNetNuke.Collections.Internal.ReadLockRequiredException: Exception of type 'DotNetNuke.Collections.Internal.ReadLockRequiredException' was thrown. at DotNetNuke.Collections.Internal.SharedDictionary`2.EnsureReadAccess() at DotNetNuke.Collections.Internal.SharedDictionary`2.get_Count() --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index) at iFinity.DNN.Modules.CacheMaster.CacheController.GetCacheCollectionValues(CacheItemInfo& item, Object cacheItemValue) at iFinity.DNN.Modules.CacheMaster.CacheController.GetCacheItems(Int32 portalId) at iFinity.DNN.Modules.CacheMaster.CacheView.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
 
New Post
11/5/2011 10:54 AM
 

Sorry, I wasn't getting the notificaitons from this forum.

I'm not sure what this error is, it looks like it might be related to ready a particular type in the cache.

I might have to change it to handle item-specific exceptions, so that any items not returning an exception don't throw the error.

 
New Post
4/30/2012 8:15 PM
 

Yes, I get the same error on DNN 6.1.5


'Cache Viewer' did not load correctly... DotNetNuke.Services.Exceptions.ModuleLoadException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> DotNetNuke.Collections.Internal.ReadLockRequiredException: Exception of type 'DotNetNuke.Collections.Internal.ReadLockRequiredException' was thrown. at DotNetNuke.Collections.Internal.SharedDictionary`2.EnsureReadAccess() at DotNetNuke.Collections.Internal.SharedDictionary`2.get_Count() --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index) at iFinity.DNN.Modules.CacheMaster.CacheController.GetCacheCollectionValues(CacheItemInfo& item, Object cacheItemValue) at iFinity.DNN.Modules.CacheMaster.CacheController.GetCacheItems(Int32 portalId) at iFinity.DNN.Modules.CacheMaster.CacheView.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace --- 

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Cache Master Mo...Cache Master Mo...Error in DNN 5.6.3Error in DNN 5.6.3


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.