SCOM 2016 Integration error

arielgritti
Mega Sage

Hello all,

We are integrating SCOM 2016 with event management and have the following error:

Connection test failed: Error running SCOM client:

Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'Microsoft.EnterpriseManagement.OperationsManager, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

File name: 'Microsoft.EnterpriseManagement.OperationsManager, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

at SCOMClient.Program.Main(String[] args)

We did made the steps from this doc

https://docs.servicenow.com/bundle/istanbul-it-operations-management/page/product/event-management/t...

But can't fix the error.

Any idea?

Thanks,

Ariel

1 ACCEPTED SOLUTION

arielgritti
Mega Sage

Hello All,



We do it.


The trick is use .dll SCOM 2012 version to connect to 2016 SCOM version.



The .dll are:


  • Microsoft.EnterpriseManagement.Core.dll
  • Microsoft.EnterpriseManagement.OperationsManager.dll
  • Microsoft.EnterpriseManagement.Runtime.dll


And the version: 7.5.3070.0



Screen Shot 11-02-17 at 06.08 PM.PNG



We found it in a SDK downloaded from MS page.


View solution in original post

15 REPLIES 15

Seems like you uploaded the wrong files or something. Copy the files fresh from the SCOM server, and then try removing all the attachment and attach them again.

I copied back the dlls from the scom server and updated the JAR files and it is working now.

Thanks.

 

Hello Archana

Of course.

Take a look to the attachs

Ariel

 

Thanks Arielgritti.

 

It worked with the 2016 dll but changed the version value to 2012

Hi Archana

You are right.

I have the connector instance parameters like this with the 2016 dlls

find_real_file.png

 

Ariel