Just a quickie. I ran into this error yesterday and was for some reason unable to find much about it so I thought I'd put another source on the web.
The solution in this case was to restart the AppPool for the CRM, which I thought was restarted with an IISreset, but it seems that those are separated. You learn something new every day.
Developer at CRM-Konsulterna