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 of your web.config of your application just add


admin