Server Error in '/' Application.
The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.
解决方案:修改配置文件,
<system.serviceModel> <bindings> <basicHttpBinding> <binding name="UserInfoWebServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <security mode="None"> <transport clientCredentialType="None" proxyCredentialType="None" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding> </basicHttpBinding> </bindings> <client> <endpoint address="http://10.12.30.53/CCCService/UserInfoWebService.asmx " binding="basicHttpBinding" bindingConfiguration="UserInfoWebServiceSoap" contract="UserInfoWebServiceReference.UserInfoWebServiceSoap" name="UserInfoWebServiceSoap" /> </client> </system.serviceModel>
posted @
2010-03-17 17:05
StarWang
阅读(
1133 )
评论()
编辑
收藏
举报