Bad IL range error on coveo integration
I am facing the following error on the sitecore. I have integrated coveo 4.1 on sitecore 9.
Below is the screenshot of the error.
The error comes from your .NET environment and is not triggered by Coveo for Sitecore. In fact, I suspect none of the Coveo for Sitecore code is executed since it is a very generic error thrown by .NET.
Something is corrupted on your side, and I'm afraid there is not must we can do on our side to help you.
You will need to check your environment to validate what was recently installed at the time of the crash, see whether some files are missing or corrupted.
You could try disabling the Coveo for Sitecore configuration files to see if only Coveo assemblies are affected.
And as I previously suggested, try reinstalling the package to see if it solves the issue.