남자입니다. 나는 성가신 문제가있어. WCF 서비스 (전송 보안 Https와 basicHttpBinding)가 있습니다. 이 서비스는 두 가지 방법으로 구성된 계약을 구현합니다. LoadData. GetData. GetData는 정상적으로 작동합니다. 내 고객은 2Mb 크기의 pachage를 문제없이 받았습니다. 모두 제대로 작동합니다. 내가WCF, IIS6.0 (413) 요청 엔터티가 너무 큽니다.
bool LoadData(Stream data); - signature of method
로 데이터를로드 할 때하지만
(413) Request Entity Too Large.
스택 추적을 얻을 것이다 :
Server stack trace: в
ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding)
System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
내가이
http://blogs.msdn.com/jiruss/archive/2007/04/13/http-413-request-entity-too-large-can-t-upload-large-files-using-iis6.aspx을 시도합니다. 하지만 작동하지 않습니다! 내 서버가 IIS6.0 인 2003입니다.
도와주세요.
WCF REST 엔드 포인트의 경우 maxReceivedMessageSize 설정을 노드에 설정해야합니다. –
DreamTimeStudioZ