I migrated my ASP.Net site from one UNC path to another but a subapp is giving me an AspNetHostingPermission
===

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`](http://stackoverflow.com/a/9552246/205245) and [making sure the AppPool has the right settings](http://stackoverflow.com/a/1848756/205245), 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?