Hello, I want to transfer large files from client to service and vice versa.(File size range is in GB) I implemented a code in wcf ,It host using console application.Using it i sent 2GB in 3 minuts. But same application i try to host in IIS .But i got an exception.. The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None). My service is showm below public class DocumentLibraryService : IDocumentLibraryService { public void UploadDocument(string fileName, byte[ data) { string filePath = @"I:\Sabid\WCF\Downloads\" + fileName; FileStream fs = new FileStream(filePath, FileMode.Create, FileAccess.Write); fs.Write(data, 0, data.Length); fs.Close(); } public byte[ DownloadDocument(string fileName) { string filePath = @"I:\Sabid\WCF\Downloads\"+fileName; // read the file and return the byte[ using (FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read, FileShare.Read)) { byte[ buffer = new byte[fs.Length]; fs.Read(buffer, 0, (int)fs.Length); return buffer; } } } [ServiceContract] public interface IDocumentLibraryService { [OperationContract] void UploadDocument(string fileName, byte[ data); [OperationContract] byte[ DownloadDocument(string fileName); } My client side code is private void btnUpload_Click(object sender, EventArgs e) { // get information about the input file FileInfo fileinfo = new FileInfo(txtSelectFile.Text); ServiceReference1.DocumentLibraryServiceClient client = new ServiceReference1.DocumentLibraryServiceClient(); // show start message lstDisplay.Refresh(); lstDisplay.Items.Add("uploading started........ " + fileinfo.Name); lstDisplay.Items.Add("Size of file = "+ fileinfo.Length/1000); //Open input Stream //Programaticly enable client to send MTOM encoded messages byte[ buffer = null; // read the file and return the byte[ using (FileStream fs = new FileStream(txtSelectFile.Text, FileMode.Open, FileAccess.Read, FileShare.Read)) { buffer = new byte[fs.Length]; fs.Read(buffer, 0, (int)fs.Length); } if (buffer != null) { client.UploadDocument(fileinfo.Name, buffer); } // Close the client client.Close(); } My app.config is Please give the solution to my problem Thanks