#20 Some helpful links for tracking down & fixing SP errors
Event Viewer 10016 error (application log)
“The application-specific permission settings do not grant Local Activation permission…”
The blasted ‘An unexpected error has occurred’ error page with nothing in any log that you can find.
CAS errors on SqlClient (System.Data.SqlClient.SqlClientPermission). Use your c:\inetpub\wwwroot\wss\VirtualDirectories\<port number>\web.config to locate your active Security Policy config file rather than the following post’s suggestion.