Server.MapPath in a helper class library

The Server.MapPath will not work directly when used from a class library directly.

System.Web.HttpContext.Current.Server.MapPath should be used instead

Comments

Popular posts from this blog

Dirty workarouds: dirty page checking + AJAX

ASP Upload and localization