Microsoft.CRM.Webservices.dll is required in GAC for all ISV Web Application

Posted Wednesday, March 17th, 2010

Most applications that I have put in the ISV folder of the CRM website has used the WebService SDK and if you don’t have the Microsoft.CRM.Webservices.dll in the GAC(C:\Windows\Assembly folder) you will get an invalid token error.  The other day I build a web application that did not use the CRM SDK but displayed data from an ERP system related to the account.  When I deployed the application to the CRM server I still got the same error.  I put the Microsoft.CRM.Webservices.dll in the GAC, reset IIS and everything worked fine.  So for now on before I deploy an application to ISV folder I always check to make sure the following dlls are in the GAC:

  1. Microsoft.CRM.Webservices.dll

  2. Microsoft.CRM.Sdk.dll

  3. Microsoft.CRM.SdkTypeProxy.dll

Remember you must do an IISREST or stop and start the services.

Leave a Reply

*
*