are you sure the app folder is configured as an application not just a folder or virtual directory?
I would try removing that path attribute from the location element or set it to match the folder name like /foldername/
you may also need to wrap a location element around system.webServer section
Hope that helps,
Joe