Pranav
Pranav

Reputation: 95

WCF service Error for large amount of data

I have a WCF service running on my application. Whenever I pass large amount of data to the service I get this error

The remote server returned an unexpected response: (413) Request Entity Too Large.

How to solve this error?

I did R&D on this issue but did not find any suitable answers.

I am creating an entity dynamically which contains 53 fields, but when I try to add the 54th field this error is thrown.

Upvotes: 0

Views: 267

Answers (1)

Tharif
Tharif

Reputation: 13971

The problem arises due to file size of the image

Can't upload large files using IIS

The fix is simply to up the size of the UploadReadAheadSize metabase property.

Reference 1,2,3

Upvotes: 2

Related Questions