 |
|
|
| Dashboard charting with Telerik control does not work in Medium Trust |
|
|
Hello,
Installed v1.0 module on DNN 4.9.0 OK. Added module to a page. After allowing module to edit web.config, critical error occurred. The event log errors seems to indicate this is a Medium Trust related issue. Hopefully, this can be resolved quickly.
First part of event log message:
DotNetNuke.Services.Exceptions.PageLoadException: An Unexpected error has occurred. Please review the InnerException for more information how to resolve the problem. ---> Telerik.Charting.ChartException: An Unexpected error has occurred. Please review the InnerException for more information how to resolve the problem. ---> System.MethodAccessException: Telerik.Web.UI.RadChart.get_ScaleEnabled() ---> 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 |
|
|
|
 |  |
|
|
| Re: Dashboard charting with Telerik control does not work in Medium Trust |
|
|
Rob, the medium trust problem is a known issue for version 1.0, we will be releasing an update in the next week or two that will fix this issue. In the meantime, our recommended workaround is to use version 0.9 of the module until that update is made available. We're sorry for the inconvenience.
Hope that helps,

The leading provider of DotNetNuke support, training and custom module development. |
|
|
|
 |  |
|
|
| Re: Dashboard charting with Telerik control does not work in Medium Trust |
|
|
The 0.9 version of the module can be found on the Downloads page for customers that have purchased the module.
http://www.engagemodules.com/Modules/Downloads.aspx DotNetNuke Core Team Member
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom development. |
|
|
|
 |  |
|
|
| Re: Dashboard charting with Telerik control does not work in Medium Trust |
|
|
Thanks, Chris. Glad it will be fixed soon. I'll try v0.9 when I get a chance. Can it be installed over v1.0, or should I uninstall first?
Rob |
|
|
|
 |  |
|
|
| Re: Dashboard charting with Telerik control does not work in Medium Trust |
|
|
Rob, I am pretty sure DNN won't allow you to install it over because it is an older version, you'll need to uninstall dashboard 1.0 first.
(as always, i recommend backing up your DB and filesystem before you install/uninstall ANY module) DotNetNuke Core Team Member
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom development. |
|
|
|
 |  |
|
|
| Re: Dashboard charting with Telerik control does not work in Medium Trust |
|
|
Hi Chris,
So where is this new version of Dashboard that should have come out a few weeks ago?
Rob Ralston |
|
|
|
 |  |
|
|
| Re: Dashboard charting with Telerik control does not work in Medium Trust |
|
|
Rob, unfortunately we haven't had a chance to finish up a new release for the module yet. I will see what the status of the module is once we return from OpenForce in Las Vegas next week. We're pretty busy trying to get everything lined up for next week currently. DotNetNuke Core Team Member
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom development. |
|
|
|
 |  |
|
|
| Re: Dashboard charting with Telerik control does not work in Medium Trust |
|
|
Rob, actually, we had finished the release, it just hadn't been publiched for download yet. I'm making it available from our downloads page currently.
Hope that helps,

The leading provider of DotNetNuke support, training and custom module development. |
|
|
|
 |  |
|
|
| Re: Dashboard charting with Telerik control does not work in Medium Trust |
|
|
Hi Brian,
Just getting back to this today. I downloaded and installed v1.00.01. I allowed the module to modify my web.config, and indeed there are no longer obvious Medium Trust issues as I first reported. However, I now see 3 sections on the main page
Event logs; Search Engine Optimization; and Database size, all with the corresponding "What' this" link which work. Unfortunately, no charts show up. Only the typical red X seen when an image cannot be found.
When I look at the properties for one of the images, it shows: "...Dashboard/tabid/115/ChartImage.axd?"
I have cleared the DNN cache and restarted the application. Anything else I should check?
Thank you,
Rob Ralston |
|
|
|
 |  |
|
|
| Re: Dashboard charting with Telerik control does not work in Medium Trust |
|
|
Rob, are you still running this on 4.9.0, or DNN 5.0 RC2?
I had a similar problem at the conference on Friday, but just tested 1.0.1 on my personal site (4.9.0) this morning without troubles.
We're trying to track this down. DotNetNuke Core Team Member
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom development. |
|
|
|
|  |