public static void catchImg(string fileName, string imgFile)
        {
            //获取截图工具路径
            string ffmpeg = System.Web.HttpContext.Current.Server.MapPath(imgFile) + ffmpegtool;
            //string ffmpeg=
            //获取截图后保存的路径
            string flv_img = imgFile;
            //获取截取图片的大小
            string FlvImgSize = sizeOfImg;
            Process pss = new Process();
            //设置启动程序的路径
            pss.StartInfo.FileName = ffmpeg;
            pss.StartInfo.Arguments = "   -i   " + fileName + "  -y  -f  image2   -ss 2 -vframes 1  -s   " + FlvImgSize + "   " + flv_img;
            //启动进程
            pss.Start();        }  buttonclick里面的的
File.Copy(fileupVideo.PostedFile.FileName,Server.MapPath(playFile));
                        //调用公共类中的catchImg方法截取视频图片
            operateMethod.catchImg(Server.MapPath(playFile), Server.MapPath(imgFile));
运行之后  “E:\PlayVideo\PlayVideo\imgFile\201112051539118210.jpg”不是有效的虚拟路径。 怎么解决