You are trying to create a file with the same name as an existing directory. You probably forgot to append a file name or used the file name as directory name:
string directoryName = "~/Images/Profile_Pic/" + User_Id;
System.IO.FileStream file = System.IO.File.Create(HttpContext.Current.Server.MapPath(directoryName + "/UserPic.ext"));