WCF Web Service not working after IIS restart
问题 I have a web service running on IIS 7.5 Whenever I restart the IIS or the AppPool of the website this web service is running I am getting the error message below. Then I found out that, if I change the complilation version (either from 4.5 to 4.0 or if it is 4.0 to 4.5) and save the web.config file then it starts working regularly. This is really weird. Can anybody help me on this please. web.config: <configuration> <system.web> <compilation debug="true" targetFramework="4.5"/> <httpRuntime