Avaya Support Forums

Avaya Support Forums (http://support.avaya.com/forums/index.php)
-   Contact Center Applications (http://support.avaya.com/forums/forumdisplay.php?f=3)
-   -   CRM phonebook synchronizer (http://support.avaya.com/forums/showthread.php?t=531)

omerbircan2 01-13-2011 06:10 AM

CRM phonebook synchronizer

I have a very big problem about phonebook synchronizer plugin. In a CRM database I configured Phonebook synchronizer plugin as in written the user guide. Which are;

1. Copy all files from [DVD:\Utilities\Microsoft Dynamics CRM Server Customizations\Realtime Phonebook Synchronizer] to the [C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly] folder in your Microsoft Dynamics CRM server.
Note: The included callout.config.xml file instructs Microsoft Dynamics CRM to load the Phonebook synchronizer assembly whenever changes occur in Accounts and Contacts. If you are already using other customizations and would like to keep your original callout.config.xml, please amend your current callout.config.xml with additional entries found in the included callout.config.xml file.

2. Update the ASMSCRMPhonebookSynchronizer.ini. The AS Contact Database Connection String needs to be set to your CCE Contact Database.

I did these steps correctly but, I think there are more configuration settings, because now according to this settings I get ASP.NET errror in event viewer and CRM dies suddenly:D which says ;

Assembly can not be loaded from C:\Program Files\Microsoft Dynamics CRM\server\bin\assembly\ASMSCRMPhonebookSynchroniz er.dll.

I searched from support center but I don't have any solution,document or idea about it. If anyone help me , I will be pleasure.

My best regards...

eclaudio 01-26-2011 07:03 AM

CRM Sync
Hello Omer,

Based on your post I can see some steps were performed but I'm not clear if the other steps were completed as well.

As a reference, please go over the CRM implementation guide:

Browse to the ‘MS CRM Server Customizations’ under the ‘Utilities folder on the CCE 4.0 DVD
Open the WORD document titled ‘Implementation Guide - MSCRM Integration.doc’

Make sure the configuration steps are completed, starting on page 10.

There is a reference to configure the ASGUIHost.ini file on each CCE agent desktop if the .ini file is used locally, If not you can perform the same configuration at the CCE agent desktop user profile (Configuration manager) , make sure the assembly name on the user profile is correct and the other configuration items as well.

At page 28 there are some steps/procedures on how to invoque a manual Synchronisation between the CRM DB and the CCE Contacts DB

CC Backbone

piya 02-11-2011 02:38 AM

Hi All,

I'm sure to do correctly step as all document guide but i face error on Event Viewer after restart IIS ("iisreset" command) as detail below.
================================================== ===================
Error: ISV code threw exception: assembly: ASMSCRMPhonebookSynchronizer.dll; class: ASMSCRMPhonebookSynchronizer.Callout; entity: contact, event: postcreate, exception: System.BadImageFormatException: The format of the file 'ASMSCRMPhonebookSynchronizer.dll' is invalid.
File name: "ASMSCRMPhonebookSynchronizer.dll"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
at System.Activator.CreateInstanceFrom(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
at Microsoft.Crm.Callout.CalloutHost.PostCreate(Callo utUserContext userContext, CalloutEntityContext entityContext)
=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\Program Files\Microsoft CRM\server\bin\assembly\ASMSCRMPhonebookSynchroniz er.dll
LOG: Appbase = c:\windows\system32\inetsrv\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft CRM/server/bin/assembly/ASMSCRMPhonebookSynchronizer.dll.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
================================================== ===================

Note: CCE 4.1.3 and MS CRM 3.

Do you have any idea to suggest me for fix this problem?


johns1224 04-27-2017 06:37 AM

Thanks for sharing the reference document, eclaudio!

All times are GMT -7. The time now is 10:56 AM.