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

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

 

posted on   xuelei被占用了  阅读(513)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示