converting virtual path to actual web path in ASP.NET September 17, 2023 by Tarik System.Web.VirtualPathUtility.ToAbsolute("yourRelativePath"); There you go 🙂