Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Sharepoint hosted WCF Service - Generating Request Entity Too Large (413) error

$
0
0

I have created a custom WCF Server and deployed to the ISAPI folder.  The Serverhost is using the MultipleBaseAddressBasicHttpBindingServiceHostFactory factory and all the methods work except for one method that takes in a byte array.  this method is used to upload documents to a sharepoint library.  when the file length is greater than 48124 bytes, then the service generates "System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (413) Request Entity Too Large."  I've set the MaxReceivedMessageSize settings for my .svc service following the instructions here but it didn't help:  http://msdn.microsoft.com/en-us/library/office/ff599489%28v=office.14%29.aspx

Any other suggestions or configuration i can change to increase the size of the message?

Thanks,




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>