Hi there,
Does anyone have any idea on it? I create a WCF Service for uploading a Document into the Document Library and I got the error message:
System.ServiceModel.ProtocolException
HResult=0x80131501
Message=The remote server returned an unexpected response: (413) Request Entity Too Large.
Source=mscorlib
StackTrace:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at ConsoleApp.TecturaWCFServiceV20.IService.UploadMSGToDocumentLibary(Byte[] oiDocumentContent, String oiDomainName, String oiEmailAddress, String oiFileLeafRef, Boolean mailType)
at ConsoleApp.TecturaWCFServiceV20.ServiceClient.UploadMSGToDocumentLibary(Byte[] oiDocumentContent, String oiDomainName, String oiEmailAddress, String oiFileLeafRef, Boolean mailType) in C:\Users\Administrator\source\repos\ConsoleApp\ConsoleApp\Connected Services\TecturaWCFServiceV20\Reference.cs:line 67
at ConsoleApp.Program.<>c__DisplayClass0_0.<Main>b__0() in C:\Users\Administrator\source\repos\ConsoleApp\ConsoleApp\Program.cs:line 118
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
Inner Exception 1:
WebException: The remote server returned an error: (413) Request Entity Too Large.
program structure

web.config

app.config
