Forums

 
  Support Forum  Modules  Engage: Dashboa...  Dashboard charting with Telerik control does not work in Medium Trust
Previous Previous
 
Next Next
New Post 9/22/2008 5:53 AM
  Rob Ralston
5 posts
No Ranking


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

 
New Post 9/22/2008 10:20 AM
  Brian Dukes
480 posts
4th Level Poster


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,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 9/22/2008 10:26 AM
  Chris Hammond
1115 posts
1st Level Poster


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


Directory of Training Programs, DotNetNuke Corporation
 
New Post 9/24/2008 11:25 AM
  Rob Ralston
5 posts
No Ranking


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

 
New Post 9/24/2008 11:29 AM
  Chris Hammond
1115 posts
1st Level Poster


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)


Directory of Training Programs, DotNetNuke Corporation
 
New Post 11/7/2008 6:33 AM
  Rob Ralston
5 posts
No Ranking


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

 
New Post 11/7/2008 10:39 AM
  Chris Hammond
1115 posts
1st Level Poster


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.


Directory of Training Programs, DotNetNuke Corporation
 
New Post 11/10/2008 7:59 AM
  Brian Dukes
480 posts
4th Level Poster


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,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 11/18/2008 4:45 AM
  Rob Ralston
5 posts
No Ranking


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

 
New Post 11/18/2008 7:48 AM
  Chris Hammond
1115 posts
1st Level Poster


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.


Directory of Training Programs, DotNetNuke Corporation
 
Previous Previous
 
Next Next
  Support Forum  Modules  Engage: Dashboa...  Dashboard charting with Telerik control does not work in Medium Trust

Purchase

Please click here to buy now.
Payment will be processed via credit card or PayPal.

Please click here to buy now.
Payment will be processed via credit card or PayPal.

Test Drive!

Want to find out how it works? Visit our demo site to see the modules in actions!

Want to find out how it works? Visit our demo site to see the modules in actions!

Subscribe

Sign up for our newsletter and get the latest product updates!

Sign up for our newsletter and get the latest product updates!

Online Support

Powered by DotNetNuke