This project is read-only.

Security Exception

Oct 25, 2010 at 8:07 AM
Edited Oct 25, 2010 at 8:32 AM


I'm trying to use the binding for a WCF Service on IIS 7.5. The service is working fine with other bindings. However, as soon as I add the configuration for WCF Flash Remoting I a security exception.

System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.

The exception could be solved by allowing the application to run on an elevated trust level. But I don't like the idea of making my website less secure. Is there another way to solve this issue?

Update: I find out that switching the Application Pool in IIS from "DefaultAppPool" to "Classic .NET App Pool" also makes the binding work.