一般是路径问题 需要转化为绝对路径 \转换为/
if (HttpContext.Current!=null)
outPath = HttpContext.Current.Server.MapPath(outPath);
outPath = outPath.Replace('\\','/');
一般是路径问题 需要转化为绝对路径 \转换为/
if (HttpContext.Current!=null)
outPath = HttpContext.Current.Server.MapPath(outPath);
outPath = outPath.Replace('\\','/');
转载于:https://www.cnblogs.com/ProDoctor/p/6894252.html