I\'m reading a text file containing an insert statement for SQL using C# in an MVC Website I\'m working on. When debugging the function I\'m using works fine and the insert
Workaround:
Instead of using
Server.MapPath("\\temp\\"...
Create folder under root with name "temp" and use
System.Web.HttpContext.Current.Request.MapPath("~\\temp....