Posted on: 10/7/2014 11:13:23 AM | Views : 1128

Hi  all,
Here is my code for image upload
title = txttextimage.Text; titleName = generateRandom8(); HttpFileCollection imgCollection = Request.Files; HttpPostedFile upfile = imgCollection[0]; string imgName = Path.GetFileName(upfile.FileName); string strPath = Server.MapPath("~/SlideShow/Main/"); upfile.SaveAs(strPath + imgName); path = Server.MapPath("~/SlideShow/" + imgName); DirectoryInfo thisFolder = new DirectoryInfo(path); thisFolder.Create(); It is cool in local . No errors found . But When I  push this  to online side . The following error appears  in button click .
The given path's format is not supported. Tell me How can I solve that  error :(

Go to the complete details ...