hii mudassar
your application giv this error
System.ObjectDisposedException: Cannot access a closed file. at System.IO.__Error.FileNotOpen() at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin) at System.Web.HttpRawUploadedContent.TempFile.GetBytes(Int32 offset, Int32 length, Byte[] buffer, Int32 bufferOffset) at System.Web.HttpRawUploadedContent.CopyBytes(Int32 offset, Byte[] buffer, Int32 bufferOffset, Int32 length) at System.Web.HttpInputStream.Read(Byte[] buffer, Int32 offset, Int32 count) at System.IO.BinaryReader.ReadBytes(Int32 count) at ASPSnippets.FaceBookAPI.FaceBookConnect.PostFile(String ?7?, String ?8?, HttpPostedFile ?10?, String ?11?) at WebApplication11.post.Page_Load(Object sender, EventArgs e) in c:\Users\User\Documents\Visual Studio 2012\Projects\WebApplication11\WebApplication11\post.aspx.cs:line 25