We have a WCF service (with no security) that is being accessed by an MVC3 website.
On the developer machines we have no problems with it but when our TeamCity setup bui
I've hit the same "Could not load type 'System.Runtime.CompilerServices.AsyncStateMachineAttribute'", which I found out was because I had built my application using VS 2012 RTM, but then tried to deploy it on a machine that only had 4.5 Beta. The AsyncStateMachineAttribute is a new type added after Beta.
I ran into this same issue today and instead of RAM being the problem it was disk space. After freeing up space, I had to restart the Application Pool and the issue was resolved.
Everytime I have the same problem, I restart my computer and it works well. It frees up memory
I had that problem too, what I did is:
Open the file yourService.svc and make sure that your service is configured, and the code behind looks like this:
<%@ ServiceHost Language="C#" Debug="true" Service="YourNamespace.yourService.svc" CodeBehind="yourService.svc.cs" %>
I fixed my issue that way. I hope it helps!