Hi everybody,
I'm developping an account post-update asyncrhoneous plugin but am having
trouble running it. It's the "Synchronize Account Address" example from
the
"Working the Microsoft Dynamis CRM 4.0" book. I copied the code AND
register.xml file.
I registered succesfully the plugin, but when I update an account, nothing
happens. (The Asynchroneous service IS running) I do have the following
error
in the Applicaton Event (posted below).
I even tried a empty Execute Method to make sure there is no error in the
code, but still have the error. Any ideas??
Thanks
Host LABCRM4: failed while monitoring asynchronous operations queue.
Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: fileName
at System.IO.FileInfo..ctor(String fileName)
at
Microsoft.Crm.Extensibility.PluginAssemblyFactory.LoadAssembly(String
assemblyFile)
at
Microsoft.Crm.Extensibility.PluginAssemblyFactory.CreateInstance(Guid
pluginAssemblyId, IOrganizationContext context)
at Microsoft.Crm.Caching.PluginAssemblyCacheLoader.LoadCacheData(Guid
key, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateEntry(TKey key,
IOrganizationContext context)
at Microsoft.Crm.Caching.CrmSharedMultiOrgCache`2.LookupEntry(TKey key,
IOrganizationContext context)
at Microsoft.Crm.Caching.PluginTypeCacheLoader.LoadCacheData(Guid key,
IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateEntry(TKey key,
IOrganizationContext context)
at Microsoft.Crm.Caching.CrmSharedMultiOrgCache`2.LookupEntry(TKey key,
IOrganizationContext context)
at Microsoft.Crm.Caching.PluginTypeCache.LookupEntry(Guid pluginTypeId,
IOrganizationContext context)
at Microsoft.Crm.Asynchronous.AsyncOperationCommand.GetPluginType(Guid
pluginTypeId)
at Microsoft.Crm.Asynchronous.EventOperation.InternalExecute(AsyncEvent
asyncEvent)
at Microsoft.Crm.Asynchronous.AsyncOperationCommand.Execute(AsyncEvent
asyncEvent)
at Microsoft.Crm.Asynchronous.AsyncHostHandler.Handle(AsyncEvent
asyncEvent)
at
Microsoft.Crm.Asynchronous.QueueManager.PoolHandler.ProcessAsyncEvent(AsyncEvent
asyncEvent)
at
Microsoft.Crm.Asynchronous.QueueManager.PoolHandler.InvokeHandlerInPool(Object
state)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object
state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at
System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback
tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object
state)
I also created a post-update plugins for accounts and nothing seems to
happen. I do have an error in the Application Events on the server.
Something
like this:
Host LABCRM4: failed while monitoring asynchronous operations queue.
Exception: System.ArgumentNullException: Value cannot be null.
Do you have an event on your side?
I have no idea what's wrong. I copied an example from a CRM 4 book (code
and
register.xml file). I even tried a execute method without any code and it
still crashes


|