Trust Level, Important

Feb 11, 2008 at 2:11 PM
Hello there, I have been developing a Facebook application and everything is alright, but when the shared hosting company changed their trust level to "medium", the application gave this error:

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.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 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.



Facebook works under "High" trust, anybody is familiar with this problem? and know how to fix it?

you can view this thread :http://www.codeplex.com/FacebookNET/Thread/View.aspx?ThreadId=19262 which relates to FacebookNET by NikhilK , he said that we can add this to the webconfig file to make it work :
<configSections>
<section name="facebook" type="Facebook.Web.Configuration.FacebookSection, FacebookNET.Web" allowDefinition="MachineToApplication" requirePermission="false"/>
</configSections>


what is the equivalent to that in Facebook developer toolkit?


Thanks


mido
Oct 9, 2008 at 10:35 AM
Edited Oct 9, 2008 at 10:36 AM
Any update on this error?
Unfortunately I'm facing the the problem right now.