Can u check the width and height properties of uploaded image. Like follows System.Drawing.Image image = System.Drawing.Image.FromFile(fileupload.fileName); int ActualWidth = image.Width; int ActualHeight = image.Height;