Has anyone managed to get the Blowery HTTP compression module working in a medium tust environment? My new web host enforces medium trust for all shared hosting accounts. I now see the following error when attempting to view my site. Any ideas how I can address
this?
Server Error in '/' Application.
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.
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.
Member
1 Points
98 Posts
Blowery HTTP Compression Module and Medium Trust
Dec 11, 2005 09:50 AM|Daze|LINK
Server Error in '/' Application.
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: Security error.
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:
Member
10 Points
171 Posts
Re: Blowery HTTP Compression Module and Medium Trust
Dec 11, 2005 05:31 PM|RMD|LINK
If this is the case, you're not going to be able to run this with medium trust because both of these require full trust.
An easy way to check would be to open up the component using Reflector and take a look at what it's doing.
Member
1 Points
98 Posts
Re: Blowery HTTP Compression Module and Medium Trust
Dec 17, 2005 10:42 AM|Daze|LINK
I'm not familiar with Reflector. I'll take a look - Thanks.
Member
1 Points
98 Posts
Re: Blowery HTTP Compression Module and Medium Trust
Dec 23, 2005 06:18 AM|Daze|LINK
The SharpZipLib is already strongly named and I've strongly named the blowery dll.
I believe the module works in DNN 3 in medium trust, so it must be possible. I've posted on the DNN forums but I've not received a reply.