Getting 413 request too large in WCF windows hosted service

110 views Asked by At

Currently I am working on wcf service which is hosted as windows service,I am not getting any error when running it in debugging mode,but when I host it as an windows service,I am getting error msg as "413 request entity too large"I had also mentioned maxRequestLengh ="1048576" and maxAllowedContentlength="1048576" which is more than sufficient for my call my WCF service accepts single string of 107kb.if anyone have any solution please share. Thank you in advance

0

There are 0 answers