|
|
|
Joined: 7/23/2008
Posts: 7
|
|
|
I am having this problem too.
My site is on 5.2.2, fresh install. It works on our local server but failed on Host Settings and all other module settings pages on the hosting server, giving the same error message like shlubnioozi and Deon Pretorius's sites did, attached below.
I have contacted my hosting provider to make sure our site had medium trust.
Has anybody got it fixed?
---------------------------------------------------------------------------------------------------------------------------------
DotNetNuke.Services.Exceptions.ModuleLoadException: Property accessor 'filteredkey' on object 'VB$AnonymousType_1`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' threw the following exception:'VB$AnonymousType_1`2.get_filteredkey()' ---> System.Reflection.TargetInvocationException: Property accessor 'filteredkey' on object 'VB$AnonymousType_1`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' threw the following exception:'VB$AnonymousType_1`2.get_filteredkey()' ---> System.MethodAccessException: VB$AnonymousType_1`2.get_filteredkey() ---> System.IO.FileNotFoundException: Could not load file or assembly 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified. File name: 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Security.Util.XMLUtil.GetClassFromElement(SecurityElement el, Boolean ignoreTypeLoadFailures) at System.Security.Util.XMLUtil.CreatePermission(SecurityElement el, PermissionState permState, Boolean ignoreTypeLoadFailures) at System.Security.SecurityElement.ToPermission(Boolean ignoreTypeLoadFailures) at System.Security.PermissionSet.CreatePerm(Object obj, Boolean ignoreTypeLoadFailures) at System.Security.PermissionSet.CreatePerm(Object obj, Boolean ignoreTypeLoadFailures) at System.Security.PermissionSet.CreatePermission(Object obj, Int32 index) at System.Security.PermissionSetEnumeratorInternal.MoveNext() at System.Security.PermissionSet.ToXml(String permName) at System.Security.PermissionSet.ToXml() at System.Security.SecurityException..ctor(String message, AssemblyName assemblyName, PermissionSet grant, PermissionSet refused, MethodInfo method, SecurityAction action, Object demanded, IPermission permThatFailed, Evidence evidence) at System.Security.SecurityException.MakeSecurityException(AssemblyName asmName, Evidence asmEvidence, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException) at System.Security.PermissionSetTriple.CheckSetDemand(PermissionSet demandSet, PermissionSet& alteredDemandset, RuntimeMethodHandle rmh) at System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandle rmh) at System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) at System.Threading.CompressedStack.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) at System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant, CompressedStack securityContext) at System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant) --- End of inner exception stack trace --- at System.Reflection.MethodBase.PerformSecurityCheck(Object obj, RuntimeMethodHandle method, IntPtr parent, UInt32 invocationFlags) 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.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) --- End of inner exception stack trace --- at System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) at System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) at System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName, String format) at System.Web.UI.WebControls.ListControl.PerformDataBinding(IEnumerable dataSource) at System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.ListControl.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.BindModuleCacheProviderList() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.BindData() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
|
|
|
|
| |
|
|
Joined: 7/23/2008
Posts: 7
|
|
|
I am having this problem too.
My site is on 5.2.2, fresh install. It works on our local server but failed on Host Settings and all other module settings pages on the hosting server, giving the same error message like shlubnioozi and Deon Pretorius's sites did, attached below.
I have contacted my hosting provider to make sure our site had medium trust.
Has anybody got it fixed?
---------------------------------------------------------------------------------------------------------------------------------
DotNetNuke.Services.Exceptions.ModuleLoadException: Property accessor 'filteredkey' on object 'VB$AnonymousType_1`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' threw the following exception:'VB$AnonymousType_1`2.get_filteredkey()' ---> System.Reflection.TargetInvocationException: Property accessor 'filteredkey' on object 'VB$AnonymousType_1`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' threw the following exception:'VB$AnonymousType_1`2.get_filteredkey()' ---> System.MethodAccessException: VB$AnonymousType_1`2.get_filteredkey() ---> System.IO.FileNotFoundException: Could not load file or assembly 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified. File name: 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Security.Util.XMLUtil.GetClassFromElement(SecurityElement el, Boolean ignoreTypeLoadFailures) at System.Security.Util.XMLUtil.CreatePermission(SecurityElement el, PermissionState permState, Boolean ignoreTypeLoadFailures) at System.Security.SecurityElement.ToPermission(Boolean ignoreTypeLoadFailures) at System.Security.PermissionSet.CreatePerm(Object obj, Boolean ignoreTypeLoadFailures) at System.Security.PermissionSet.CreatePerm(Object obj, Boolean ignoreTypeLoadFailures) at System.Security.PermissionSet.CreatePermission(Object obj, Int32 index) at System.Security.PermissionSetEnumeratorInternal.MoveNext() at System.Security.PermissionSet.ToXml(String permName) at System.Security.PermissionSet.ToXml() at System.Security.SecurityException..ctor(String message, AssemblyName assemblyName, PermissionSet grant, PermissionSet refused, MethodInfo method, SecurityAction action, Object demanded, IPermission permThatFailed, Evidence evidence) at System.Security.SecurityException.MakeSecurityException(AssemblyName asmName, Evidence asmEvidence, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException) at System.Security.PermissionSetTriple.CheckSetDemand(PermissionSet demandSet, PermissionSet& alteredDemandset, RuntimeMethodHandle rmh) at System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandle rmh) at System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) at System.Threading.CompressedStack.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) at System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant, CompressedStack securityContext) at System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant) --- End of inner exception stack trace --- at System.Reflection.MethodBase.PerformSecurityCheck(Object obj, RuntimeMethodHandle method, IntPtr parent, UInt32 invocationFlags) 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.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) --- End of inner exception stack trace --- at System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) at System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) at System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName, String format) at System.Web.UI.WebControls.ListControl.PerformDataBinding(IEnumerable dataSource) at System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.ListControl.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.BindModuleCacheProviderList() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.BindData() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
|
|
|
|
| |
|
|
Joined: 7/23/2008
Posts: 7
|
|
|
We got it solved by asking the hosting provider to give the site full trust. Hope this can help somebody.
|
|
|
|
| |
|
|
|
Joined: 3/22/2006
Posts: 53
|
|
|
Make sure you also have the moduleCaching and outputCaching sections defined in the configuration/configSections/sectionGroup name="DotNetNuke" part of your web.config. I had to manually add them to the web.config on my site that I upgraded from 5.5.1. Here's how it should look:
< sectionGroup name = "dotnetnuke" > <!-- the requirePermission attribute will cause a syntax warning - please ignore - it is required for Medium Trust support-->
< section name = "data" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "logging" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "scheduling" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "htmlEditor" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "navigationControl" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "searchIndex" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "searchDataStore" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "friendlyUrl" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "caching" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "authentication" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "members" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "roles" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "profiles" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "permissions" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "sitemap" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "moduleCaching" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> < section name = "outputCaching" requirePermission = "false" type = "DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" /> </ sectionGroup >
When I only added the moduleCaching and outputCaching sections to the <dotnetnuke></dotnetnuke> section without adding the parts highlighted above, I got errors when I went to /install/install.aspx?mode=installresources but after adding these, everything went smoothly.
|
|
|
|
| |
|
|
|
Joined: 3/22/2006
Posts: 53
|
| |
| |