I ran the upgrade from 4.9.1 to 5.3.1 as suggested from scratch.
The same problem persists however.
In addtion the ambiguos reference detailed elsewhere still exists in the /App_Code/XML/Handlers/downoad.vb source code, but this seems to ba a legacy isssue as I do not see a new version of the downoad.vb file included in the 5.3.1 upgrade package.
Line 34 should read:
"Private Sub RenderToResponseStream(ByVal Response As System.Web.HttpResponse, ByVal controller As XmlController)"
instaed of
Private Sub RenderToResponseStream(ByVal Response As Web.HttpResponse, ByVal controller As XmlController)
The same issue exists on line 89:
It should read:
Private Sub handleAuthenticateRequest(ByVal context As System.Web.HttpContext)
instead of:
Private Sub handleAuthenticateRequest(ByVal context As Web.HttpContext)
Once again the upgrade process performed flawlessly as far as I ould see. Here are the logs:
"Upgrading DotNetNuke
Current Assembly Version: 05.03.01
Current Database Version: 04.09.01
Upgrade Status Report
00:00:00.156 - Upgrading to Version: 05.03.01
00:00:01.078 - Executing Script: 05.00.00.SqlDataProvider Success
00:00:20.250 - Executing Script: 05.00.01.SqlDataProvider Success
00:00:22.171 - Executing Script: 05.01.00.SqlDataProvider Success
00:00:32.265 - Executing Script: 05.01.01.SqlDataProvider Success
00:00:33.359 - Executing Script: 05.01.02.SqlDataProvider Success
00:00:33.437 - Executing Script: 05.01.03.SqlDataProvider Success
00:00:33.718 - Executing Script: 05.01.04.SqlDataProvider Success
00:00:33.812 - Executing Script: 05.02.00.SqlDataProvider Success
00:00:38.593 - Executing Script: 05.02.01.SqlDataProvider Success
00:00:38.937 - Executing Script: 05.02.02.SqlDataProvider Success
00:00:39.171 - Executing Script: 05.02.03.SqlDataProvider Success
00:00:39.406 - Executing Script: 05.03.00.SqlDataProvider Success
00:00:42.218 - Executing Script: 05.03.01.SqlDataProvider Success
00:00:42.281 - Executing Application Upgrades: 05.00.00 Success
00:01:44.140 - Executing Application Upgrades: 05.00.01 Success
00:01:44.484 - Executing Application Upgrades: 05.01.00 Success
00:02:17.562 - Executing Application Upgrades: 05.01.01 Success
00:02:17.796 - Executing Application Upgrades: 05.01.02 Success
00:02:17.796 - Executing Application Upgrades: 05.01.03 Success
00:02:18.828 - Executing Application Upgrades: 05.01.04 Success
00:02:18.828 - Executing Application Upgrades: 05.02.00 Success
00:02:19.750 - Executing Application Upgrades: 05.02.01 Success
00:02:19.828 - Executing Application Upgrades: 05.02.02 Success
00:02:19.828 - Executing Application Upgrades: 05.02.03 Success
00:02:19.828 - Executing Application Upgrades: 05.03.00 Success
00:02:33.984 - Executing Application Upgrades: 05.03.01 Success
00:02:33.984 - Cleaning Up Files: 05.00.00 Success
00:02:34.218 - Cleaning Up Files: 05.00.01 Success
00:02:34.250 - Cleaning Up Files: 05.01.00 Success
00:02:34.343 - Cleaning Up Files: 05.01.01 Success
00:02:34.343 - Cleaning Up Files: 05.01.02 Success
00:02:34.343 - Cleaning Up Files: 05.01.03 Success
00:02:34.343 - Cleaning Up Files: 05.01.04 Success
00:02:34.343 - Cleaning Up Files: 05.02.00 Success
00:02:34.343 - Cleaning Up Files: 05.02.01 Success
00:02:34.343 - Cleaning Up Files: 05.02.02 Success
00:02:34.343 - Cleaning Up Files: 05.02.03 Success
00:02:34.343 - Cleaning Up Files: 05.03.00 Success
00:02:34.343 - Cleaning Up Files: 05.03.01 Success
00:02:34.343 - Updating Config Files: 05.00.00 Success
00:02:34.343 - Updating Config Files: 05.00.01 Success
00:02:34.343 - Updating Config Files: 05.01.00 Success
00:02:34.359 - Updating Config Files: 05.01.01 Success
00:02:34.359 - Updating Config Files: 05.01.02 Success
00:02:34.359 - Updating Config Files: 05.01.03 Success
00:02:34.359 - Updating Config Files: 05.01.04 Success
00:02:34.359 - Updating Config Files: 05.02.00 Success
00:02:34.375 - Updating Config Files: 05.02.01 Success
00:02:34.390 - Updating Config Files: 05.02.02 Success
00:02:34.390 - Updating Config Files: 05.02.03 Success
00:02:34.390 - Updating Config Files: 05.03.00 Success
00:02:34.390 - Updating Config Files: 05.03.01 Success
00:02:34.390 - Performing General Upgrades
00:02:35.593 - Installing Optional Modules:
00:02:35.609 - Installing Package File HTML_Community_05.02.00_Install: Success
00:02:45.343 - Installing Package File Messaging_01.00.00_Install: Success
00:02:46.265 - Installing Package File Taxonomy_01.00.00_Install: Success
00:02:49.500 - Installing Optional Skins:
00:02:49.500 - Installing Optional Containers:
00:02:49.500 - Installing Optional Languages:
00:02:49.500 - Installing Optional Providers:
00:02:49.515 - Installing Package File AspNetMembershipProvider_05.02.00_Install: Success
00:02:50.468 - Installing Package File CorePermissionProvider_05.01.01_Install: Success
00:02:51.093 - Installing Package File CoreSitemapProvider_5.2.0.0_Install: Success
00:02:51.671 - Installing Package File DatabaseLoggingProvider_05.01.01_Install: Success
00:02:52.437 - Installing Package File DNNMembershipProvider_05.01.03_Install: Success
00:02:53.671 - Installing Package File DNNMenuNavigationProvider_05.01.00_Install: Success
00:02:54.390 - Installing Package File DNNTreeNavigationProvider_05.01.00_Install: Success
00:02:54.984 - Installing Package File FckHtmlEditorProvider_02.00.04_Install: Success
00:03:06.750 - Installing Package File FileBasedCachingProvider_05.01.03_Install: Success
00:03:07.359 - Installing Package File FileModuleCachingProvider_05.02.01_Install: Success
00:03:07.921 - Installing Package File MemoryModuleCachingProvider_05.02.01_Install: Success
00:03:09.187 - Installing Package File SchedulingProvider_05.02.01_Install: Success
00:03:09.640 - Installing Package File SearchIndexProvider_05.01.00_Install: Success
00:03:10.031 - Installing Package File SearchProvider_05.01.01_Install: Success
00:03:10.468 - Installing Package File SolpartMenuNavigationProvider_05.01.00_Install: Success
00:03:11.203 - Installing Optional AuthSystems:
00:03:11.203 - Installing Package File LiveID_01.00.01_Install: Success
00:03:11.718 - Installing Package File OpenID_02.00.00_Install: Success
00:03:14.093 - Installing Optional Packages:
Upgrade Complete
Click Here To Access Your Portal"
I am still receiving the same eroor after logging in as host and trying to access 'host settings':
"Error: Host Settings is currently unavailable.
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.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. 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) The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.ReflectionPermission --- 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.Host.HostSettings.BindModuleCacheProviderList() at DotNetNuke.Modules.Admin.Host.HostSettings.BindData() at DotNetNuke.Modules.Admin.Host.HostSettings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---"
I am really slightly at a loss as what could be the root cause of this issue.