Problem:
Running > MICROSOFT.ENTERPRISEMANAGEMENT.GATEWAYAPPROVALTOOL.EXE /ManagementServerName=msserver.domain /GatewayName=gwserver.domain /action=create < is ending in an error
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.EnterpriseManagement.DataAccessLayer, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.File name: 'Microsoft.EnterpriseManagement.DataAccessLayer, Version=7.0.5000.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35' at GatewayInsertionTool.Program.Main(String[] args)
WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Solution:
The file ‘Microsoft.EnterpriseManagement.DataAccessLayer.dll is not where the …Gatewayapplovaltool.exe ist.
Copy the two files from the source folder supporttool to the SCOM installation subfolder named “Server” .
Files:
- MICROSOFT.ENTERPRISEMANAGEMENT.GATEWAYAPPROVALTOOL.EXE
- MICROSOFT.ENTERPRISEMANAGEMENT.GATEWAYAPPROVALTOOL.EXE.CONFIG
Folder:
- C:\Program Files\System Center 2012\Operations Manager\Server
Now run the command out of the server folder.