CRM 2011 WebNotificationPlugin error

Hi,

We have configured webnotification url in CRM 2011 to invalidate the cache on a target portal, However this is failing with the error. Any suggestions please?


[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: Begin
[15468] Workflow Information: 0 :
[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: An exception was thrown while trying to send notifications.
[15468] Workflow Information: 0 :
[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: System.Security.SecurityException: Request for the permission of type ‘System.Net.WebPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.
[15468] at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
[15468] at System.Security.CodeAccessPermission.Demand()
[15468] at System.Net.HttpWebRequest.CheckConnectPermission(Uri uri, Boolean needExecutionContext)
[15468] at System.Net.HttpWebRequest…ctor(Uri uri, ServicePoint servicePoint)
[15468] at System.Net.HttpRequestCreator.Create(Uri Uri)
[15468] at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
[15468] at System.Func2.Invoke(T arg) [15468] at System.Linq.Enumerable.<>c__DisplayClass123.b__11(TSource x)
[15468] at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() [15468] at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
[15468] at Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin.SendNotifications(IExecutionContext context, IOrganizationService service)
[15468] at Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin.Execute(IServiceProvider serviceProvider)
[15468] The action that failed was:
[15468] Demand
[15468] The type of the first permission that failed was:
[15468] System.Net.WebPermission
[15468] The Zone of the assembly that failed was:
[15468] MyComputer
[15468] Workflow Information: 0 :
[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: End
[15468] Workflow Information: 0 :
[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: Begin
[15468] Workflow Information: 0 :
[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: Begin
[15468] Workflow Information: 0 :
[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: An exception was thrown while trying to send notifications.
[15468] Workflow Information: 0 :
[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: System.Security.SecurityException: Request for the permission of type ‘System.Net.WebPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.
[15468] at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
[15468] at System.Security.CodeAccessPermission.Demand()
[15468] at System.Net.HttpWebRequest.CheckConnectPermission(Uri uri, Boolean needExecutionContext)
[15468] at System.Net.HttpWebRequest…ctor(Uri uri, ServicePoint servicePoint)
[15468] at System.Net.HttpRequestCreator.Create(Uri Uri)
[15468] at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
[15468] at System.Func2.Invoke(T arg) [15468] at System.Linq.Enumerable.<>c__DisplayClass123.b__11(TSource x)
[15468] at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() [15468] at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
[15468] at Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin.SendNotifications(IExecutionContext context, IOrganizationService service)
[15468] at Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin.Execute(IServiceProvider serviceProvider)
[15468] The action that failed was:
[15468] Demand
[15468] The type of the first permission that failed was:
[15468] System.Net.WebPermission
[15468] The Zone of the assembly that failed was:
[15468] MyComputer
[15468] Workflow Information: 0 :
[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: End
[15468] Workflow Information: 0 :
[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: An exception was thrown while trying to send notifications.
[15468] Workflow Information: 0 :
[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: System.Security.SecurityException: Request for the permission of type ‘System.Net.WebPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.
[15468] at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
[15468] at System.Security.CodeAccessPermission.Demand()
[15468] at System.Net.HttpWebRequest.CheckConnectPermission(Uri uri, Boolean needExecutionContext)
[15468] at System.Net.HttpWebRequest…ctor(Uri uri, ServicePoint servicePoint)
[15468] at System.Net.HttpRequestCreator.Create(Uri Uri)
[15468] at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
[15468] at System.Func2.Invoke(T arg) [15468] at System.Linq.Enumerable.<>c__DisplayClass123.b__11(TSource x)
[15468] at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() [15468] at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
[15468] at Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin.SendNotifications(IExecutionContext context, IOrganizationService service)
[15468] at Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin.Execute(IServiceProvider serviceProvider)
[15468] The action that failed was:
[15468] Demand
[15468] The type of the first permission that failed was:
[15468] System.Net.WebPermission
[15468] The Zone of the assembly that failed was:
[15468] MyComputer
[15468] Workflow Information: 0 :
[15468] Microsoft.Xrm.Portal.Plugins.WebNotificationPlugin: Execute: End
[87864] Buffer insufficient for RenderEvent for User Values, Retrying with the correct buffer-122-The data area passed to a system call is too small
[87864] EvtFormatMessage failed because of insufficient memory. Retrying with correct memory-0-The operation completed successfully
[87864] RenderEventToBuffer failed because of insufficient memory.-122-The data area passed to a system call is too small
[87864] RenderEventToBuffer failed because of insufficient memory.-122-The data area passed to a system call is too small
[87864] Trace Start:10End Index:13
[87864] Trace Start:13End Index:16
[87864] Trace Start:16End Index:22
[87864] Trace Start:22End Index:31
[87864] Trace Start:31End Index:37
[87864] Trace Start:37End Index:40
[87864] Trace Start:30End Index:40
[87864] Trace Start:0End Index:10