LINQ error when deployed - Security Exception - cannot create DataContext
- by aximili
The code below works locally, but when I deploy it to the server it gives the following error.
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…