So you zip up your package, and you download it to your customers site to install onto there server and you get the following 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.Secuity.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=18.104.22.168, Culture=neutral
You know nothing has changed the system works find on your test server, your laptop and everywhere else its just broken here, and nothing major has changed since the last release! What can be wrong? One of two things:
Your dll references and Hint Paths could be wrong, open up your Project files and look for incorrect hint paths causing your solution to be compiled with a range or dlls causing your very own dll hell. Or alternatively your zip and dlls could have been corrupted in some way, either way its not good.
Hopefully this post will help you find the root of your problems, the obscure error means your installation is corrupted in some way..