Error while executing the InvalidateCache plugin

Aug 11, 2010 at 5:29 PM

Hi I have registered the InvalidateCache plugin to execute on Update of the incident entity so that the cache is cleared whenever i try to update the case entity. Whenever i update the case entity i get an error when CRM tries to execute the InvalidateCache plugin.


Having a look at the event viewer showed the following error details:

ClassName: Microsoft.Xrm.Client.Plugins.InvalidateCache; Exception: Unhandled Exception: System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.Xrm.Client.Plugins.InvalidateCache.Execute(IPluginExecutionContext context)
   at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)


Any help would be higly appreciated