一般是路径问题 需要转化为绝对路径 \转换为/

if (HttpContext.Current!=null)
outPath = HttpContext.Current.Server.MapPath(outPath);
outPath = outPath.Replace('\\','/');

 

posted on 2017-05-23 15:21  xuelei被占用了  阅读(456)  评论(0编辑  收藏  举报