tags:

views:

120

answers:

2

When i am trying send large size files through wcf service, its give Unexpected sercice response, bad request 400 error. if i send bellow 16000 bytes size files does not give error. how do i increase the size, and help me to resolve the issue. Thanks to all. by Senthil

+1  A: 

In your binding on the server for the service endpoint, find your transport binding element and increase the value for the following two attributes.

maxReceivedMessageSize="999999" 
maxBufferSize="999999"
codemeit