I wasted a day trying to figured out why the MapPath does not resovle correctly in my App when I deployed my app from IIS6 to IIS 7. Apparently this is a known issue:
IIS7 - Virtual Directories' Parent Paths behaving differently than previous versions - Server Fault