How to get application root (full physical path) in OnApplicationStarted in MVC3 application?
You can use System.Web.HttpRuntime.AppDomainAppVirtualPath to get the virtual path and call System.Web.Hosting.HostingEnvironment.MapPath to map the virtual path to a physical one.
use this:
AppDomain.CurrentDomain.BaseDirectory