Hello
I would like help with the following asp.net error i now have after deploying my app to live
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.
Most posts say to edit the web config file and allow trust. I read this http://msdn.microsoft.com/en-us/library/tkscy493.aspx but am not really able to make sense of it.
If it helps to clarify things. I can connect to the database and retrieve results using LINQ.dbml DataContext. However when I try and assign the results to a Object, say for example.. The Data context is an external project compiled to a dll and put in the bin folder.
DataContext db = new DataContext("connectionstring");
var bankUser = (from u in db.Bankers
where u.banker_email == TXT_user.Text
&& u.banker_password == TXT_pass.Text
select u).Single();
it throws the error posted above.
I only have access via a control panel so any changes will have to be in web.config. I have set the project to have its own application pool.
any ideas appreciated.