G
Guest
I'm using DotNetNuke 3.1 and it works well.
I try to use Ajax with it. But if I add the Ajax specification in web.config :
<add verb="GET,POST" path="vbwrapper/*.ashx" type="Ajax.PageHandlerFactory,
Ajax" />
I receive the error :
System.Security.SecurityException: Request for the permission of type
System.Security.Permissions.ReflectionPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
If I remove Trust line in web.config or if I replace trust level="Medium" by
other permission type, my project doesn't work for other reason :
An error occurred during the processing of a configuration file required to
service this request. Please review the specific error details below and
modify your configuration file appropriately.
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config
Red Line : <add assembly="*"/>
If I test Ajax in an other project, it is functional but I don't use Trust
level in web.config.
Have you got ideas to resolve that please ?
Thanks.
I try to use Ajax with it. But if I add the Ajax specification in web.config :
<add verb="GET,POST" path="vbwrapper/*.ashx" type="Ajax.PageHandlerFactory,
Ajax" />
I receive the error :
System.Security.SecurityException: Request for the permission of type
System.Security.Permissions.ReflectionPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
If I remove Trust line in web.config or if I replace trust level="Medium" by
other permission type, my project doesn't work for other reason :
An error occurred during the processing of a configuration file required to
service this request. Please review the specific error details below and
modify your configuration file appropriately.
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config
Red Line : <add assembly="*"/>
If I test Ajax in an other project, it is functional but I don't use Trust
level in web.config.
Have you got ideas to resolve that please ?
Thanks.