This version of E-mail Router should not be installed on an on-premise CRM
server. I made the same mistake had the same problem. After searching the net
couldn't find any answer that could solve the problem, so I decided that I
will try to investigate myself.
Afterall I found the problem. This version of CRM Online E-mail Router
replaces some important DLLs (.net assemblies) that are not compatible with
the CRM server.
The most important one is the microsoft.crm.dll in th GAC.
What I have done to solve the problem is the following:
1. Checked the version of the latest rollup package that I have installed on
the CRM server
2. Downloaded this version of Rollup Installation package from the net
3. Extracted the content of the installation package (I used mscab.exe for
this)
4. Replaced the microsoft.crm.dll in GAC with the one that was extracted in
step 3. This can be done using gacutil.exe or by simply replacing the dll in
the path (in 32bit version of windows)
C:\WINDOWS\assembly\GAC_32\Microsoft.Crm\4.0.0.0__31bf3856ad364e35\microsoft.crm.dll
using command prompt or directly opening in explorer (Start/Run) the
following folder
"C:\WINDOWS\assembly\GAC_32\Microsoft.Crm\4.0.0.0__31bf3856ad364e35" then
copy/paste the dll.
Hope this will help.
David.
"Santiago Carbonell Forment" wrote:
> Hi,
>
> I've installed MSCRM 4.0 and works fine. Then I install Email Router online
> because we are using Exchange online in BPOS using this link:
>
> http://www.microsoft.com/downloads/details.aspx?FamilyId=261A17F6-72C9-45A3-B19A-75AE844B9DD0&displaylang=en
>
> Then I obtain this error:
>
> [MethodAccessException: Microsoft.Crm.LocatorService..ctor()]
> Microsoft.Crm.Application.Utility.Util.IsLive() +0
> Microsoft.Crm.MainApplication.Application_OnStart() +501
>
> Into Windows log appears this:
>
> Host CRM: failed while starting monitoring asynchronous operations queue.
> Exception: System.MethodAccessException: Microsoft.Crm.LocatorService..ctor()
> en
> Microsoft.Crm.Asynchronous.ConfigurationFactory.Create(CrmServiceFactory
> crmServiceFactory, AsyncServiceContext context)
> en Microsoft.Crm.Asynchronous.AsyncService.InitializeComponents()
> en Microsoft.Crm.Asynchronous.AsyncService.OnStart(String[] args)
>
>
> I've tried this KB:
>
> http://support.microsoft.com/kb/949092
>
> I've regenerated libraries counters and I've installed .NET Framework 3.5
> but doesn't work. Always the same error.
>
> Can someone help me?
>
> Thanks
>
>