Solving “The requested service, ‘http://MyService.svc’ could not be activated. See the server’s diagnostic trace logs for more information.” error
While working in WCF project I got this error while accessing wcf service.
“The requested service, ‘http://MyService.svc’ could not be activated. See the server’s diagnostic trace logs for more information.”
But when I was running service separately then It was running.
After searching for some time I got one solution which works for me.
Solution is as follows:
In
|
1 2 3 |
<system.serviceModel>
<serviceHostingEnvironment multipleSiteBindingsEnabled=”true” minFreeMemoryPercentageToActivateService=”1″/>
</system.serviceModel> |