Removing dependency of site living in root directory

If a site lives in an application (instead of the root of the site) the process method will fail due to an invalid path derived from the root of the site, not the root of the application.

www.site.com/app1
www.site.com/app2 (completely separate site from app1, can have different app pool etc)

http://www.iis.net/learn/get-started/planning-your-iis-architecture/understanding-sites-applications-and-virtual-directories-on-iis#About7.0