asp.net - Could not load file or assembly 'Microsoft.Xrm.Client, Version ERROR -
i'm creating asp web app connect crm. got error every time run application: error not load file or assembly 'microsoft.xrm.client
using microsoft.xrm.client.dll version: 5.0.9690.2165 reference give error :
could not load file or assembly 'microsoft.xrm.client, version=5.0.9689.2166, culture=neutral, publickeytoken=31bf3856ad364e35' or 1 of dependencies. located assembly's manifest definition not match assembly reference. (exception hresult: 0x80131040)
but when replace dll microsoft.xrm.client.dll version: 5.0.9689.2166 reference give error:
could not load file or assembly 'microsoft.xrm.client, version=5.0.9690.2165, culture=neutral, publickeytoken=31bf3856ad364e35' or 1 of dependencies. located assembly's manifest definition not match assembly reference. (exception hresult: 0x80131040)
and cant add both version reference. i'm confused version on of microsoft.xrm.client.dll version use debug error.
please let know if able resolve this, if reason.
in case, had plugin used create users in mscrm.
i had 2 different organizations, org a , org b.
as per functionality needed whenever new user created in org same should created in org b
so registered plugin on org a
as organization b created using database restore same plugin registered in org b
so, on creation of user in org a, plugin of org a triggered, tried create user in org b
at same time same plugin available in org b triggered.
as per understanding org b tried load assembly microsoft.xrm.client.dll being used plugin of org a.
so getting error
could not load file or assembly 'microsoft.xrm.client, version=5.0.9689.2166, culture=neutral, publickeytoken=31bf3856ad364e35' or 1 of dependencies. located assembly's manifest definition not match assembly reference. (exception hresult: 0x80131040)
hope somebody!
Comments
Post a Comment