I've migrated my ASP.Net website from a UNC path on one server to a new UNC path on a new, bigger server.
After messing about with Code Access Security permissions in caspol
and making sure the AppPool has the right settings, the website is working ok, with no wacky "PolicyException: Required permissions cannot be acquired" CAS errors.
The problem I have, though, is that there is a subdirectory configured as its own web application. That app is giving me a yellow-screen-of-death error:
System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Now I know the site is running in Full Trust now, so why is this subdir app not working?