While i was uploading the image in server it was showing "server error". For image upload i used a method. which is below. But, It is working fine in local but in server it's not working.
public void uploadnow(HttpPostedFileWrapper upload)
{
if (upload != null)
{
string ImageName = upload.FileName;
string path = System.IO.Path.Combine(Server.MapPath("~/Uploads/Admin/"), ImageName);
upload.SaveAs(path);
}
}