I was trying to remote debug a webservice which was using CRM code and I started getting this error.

Could not load file or assembly ‘Microsoft.Crm, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35′

I have never seen this error and I wasn’t sure if it was because I was trying to run it from my machine where certain dll’s are not in the GAC? or I have no idea.

but after I copied some dll’s into the bin directory of my web application or added them as reference the problem was fixed.

to read how to resolve the problem go to the blog below


Filed under: CRM 2011