Gravatar for alexander.kravchuk@apiqu.com

Question by Alexander Kay, Nov 14, 2016 7:03 PM

Attempted to read or write protected memory

Hi,

I have a problem with configuring Coveo 3.0.1116 for Sitecore 8.0 (rev. 150812). I've installed on premise Coveo, then Coveo API, then Coveo plugin for Sitecore. When I go to the Coveo Diagnostics Page I see: alt text

However, I can index my Sitecore Items:

alt text

During indexing I had a chance to catch this in CES console:

Indexing is paused because of a security provider error (class Merlin::SecurityProviderOnErrorException: Security Provider "Sitecore Security Provider for {PROVIDER_NAME}" failed to start: Unable to get the Blade description for Security Provider "Sitecore Security Provider for {PROVIDER_NAME}": class CGLMessaging::Meta::ExceptionBase: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.). Make sure that the security provider is configured properly to resume indexing.

But the most interesting part happening when I trying to open my Coveo Admin panel and click on the appropriate Security Provider:

alt text

My Coveo Services are running:

alt text

Here are some bizzare entries from the Coveo log file:

212345969924026430|WARNING|2016-11-14|18:41:19|0|An error occurs while retrieving the Blade description(s) for "C:\Program Files\Coveo Enterprise Search 7\Bin\Coveo.CES.SecurityProviders.Jive.dll": class CGLMessaging::Meta::ExceptionBase: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.|||
212345969924026431|WARNING|2016-11-14|18:41:19|0|An error occurs while retrieving the Blade description(s) for "C:\Program Files\Coveo Enterprise Search 7\Bin\Coveo.CES.SecurityProviders.LdapLookup.dll": class CGLMessaging::Meta::ExceptionBase: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.|||
212345969924026433|NORMAL|2016-11-14|18:41:19|0|Proceeding with recovery|||
212345969924026434|WARNING|2016-11-14|18:41:19|0|An error occurs while retrieving the Blade description(s) for "C:\Program Files\Coveo Enterprise Search 7\Bin\Coveo.CES.SecurityProviders.NoExpansionActiveDirectory.dll": class CGLMessaging::Meta::ExceptionBase: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.|||
212345969924026435|WARNING|2016-11-14|18:41:19|0|An error occurs while retrieving the Blade description(s) for "C:\Program Files\Coveo Enterprise Search 7\Bin\Coveo.CES.SecurityProviders.Office365.dll": class CGLMessaging::Meta::ExceptionBase: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.|||
212345969924026437|NORMAL|2016-11-14|18:41:19|0|[Default] Proceeding with recovery|||
212345969924026438|WARNING|2016-11-14|18:41:19|0|An error occurs while retrieving the Blade description(s) for "C:\Program Files\Coveo Enterprise Search 7\Bin\Coveo.CES.SecurityProviders.OracleKnowledge.dll": class CGLMessaging::Meta::ExceptionBase: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.|||
212345969924026439|WARNING|2016-11-14|18:41:19|0|An error occurs while retrieving the Blade description(s) for "C:\Program Files\Coveo Enterprise Search 7\Bin\Coveo.CES.SecurityProviders.RTMemberName.dll": class CGLMessaging::Meta::ExceptionBase: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.|||
212345969924026441|NORMAL|2016-11-14|18:41:19|0|[Default.Default] Proceeding with recovery|||
212345969924026442|WARNING|2016-11-14|18:41:19|0|An error occurs while retrieving the Blade description(s) for "C:\Program Files\Coveo Enterprise Search 7\Bin\Coveo.CES.SecurityProviders.SharePoint.dll": class CGLMessaging::Meta::ExceptionBase: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.|||
212345969924026443|WARNING|2016-11-14|18:41:19|0|An error occurs while retrieving the Blade description(s) for "C:\Program Files\Coveo Enterprise Search 7\Bin\Coveo.CES.SecurityProviders.Windchill.dll": class CGLMessaging::Meta::ExceptionBase: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.|||

I've already struggled with issue before and was able to solve it by upgrading my coveo to the latest version. Unfortunately, I have to use version 3.0.1116 for this project.

Any help or thoughts are appreciated.

Thanks, Alex.

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Nov 15, 2016 9:43 AM

Coveo for Sitecore 3.0.1116 is the September 2016 release.

Not exactly the same error message but do you have the .Net Framework 4.6 installed on the machine running CES? There is a known issue with older CES releases. https://support.coveo.com/s/article/1057

This was fixed in the October 2015 release of CES (7.0.7914) which go hand in hand with the October 2015 release of Coveo for Sitecore (3.0.1123).

If you run the June 2015 (7.0.7711) release of CES, a hotfix is available. It you run any other version, there is unfortunately no hotfix and an upgrade of both CES and Coveo for Sitecore is required.

I hope this helps,

Jeff

Gravatar for alexander.kravchuk@apiqu.com

Comment by Alexander Kay, Nov 16, 2016 9:10 PM

Yes, I have .NET Framework 4.6 installed. I'm running September 2015 (7.0.7814). Where I can get this hotfix?

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Nov 17, 2016 2:31 PM

As I said, there is no hotfix available for the September 2015 release. There's only one for the June 2015 release at the moment. The recommended solution is to upgrade to October 2015 or newer for both CES and Coveo for Sitecore.

If you have an Enterprise Coveo for Sitecore license, you can request a hotfix for the September 2015 release of CES by creating a support ticket.

Thanks

Ask a question