Hello,
I am trying to install the demo (v 1.5.0) on a DNN3.2.2 version. and I get teh following error:
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type System.Security.Permissions.ReflectionPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[SecurityException: Request for the permission of type System.Security.Permissions.ReflectionPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.]
System.Security.SecurityRuntime.FrameDescHelper(FrameSecurityDescriptor secDesc, IPermission demand, PermissionToken permToken) +549
System.Type.GetType(String typeName, Boolean throwOnError) +0
System.Web.Configuration.HandlerMapping..ctor(String requestType, String path, String typeName, Boolean defer) +141
System.Web.Configuration.HttpHandlersSectionHandler.InternalCreate(Object parent, XmlNode node) +509
|
I can make the chat module work only if I remove the following line from the web.config:
<trust level="Medium" originUrl="http://localhost/.*" />
or, if I change the trust level to Full and then (in both scenarios) recycle the ASPNET process.
Since in my hosting environment I cannot recycle the aspnet process, I would like to know if there is a solution when trust is set to medium, or do I need to use Full trust with Ajax?
Thank you in advance,
Andreas.