Cross posted from http://social.microsoft.com/Forums/en-US/partnersystemcenterom/thread/5897bc44-d5c4-4f48-8fbf-d449242e390b/ since I heard it might help to have the Azure point of view added to this:
----------
I'm setting up a new SCOM 2012 install that's going to have one Management Server some remote networks with gateway servers.
I'm getting an app crash when trying to run the gateway approval tool on my (Azure-based) Management Server.
I'm running on W2K8 R2 Datacenter edition and using Gatewayapprovaltool.exe and the .config files copied from SupportTols\AMD64
I'm running on Windows 2008 R2 Datacenter edition. This is the only management server. (outside of the gateways I'm trying to approve)
I'm using the files I find on the installation media at \SCOM2012\SUPPORTTOOLS\AMD64\
My SCOM installation is at S:\Program Files\System Center 2012\Operations Manager\
The approval tool fails when run from this location.
Trying with the files at S:\Program Files\System Center 2012\
also fails
I'm copying
MICROSOFT.ENTERPRISEMANAGEMENT.GATEWAYAPPROVALTOOL.EXE
MICROSOFT.ENTERPRISEMANAGEMENT.GATEWAYAPPROVALTOOL.EXE.CONFIG
I'm running in a Windows command prompt run as administrator and have tried with 2 different domain admin accounts.
Any ideas what it could be?
The command I'm running:
MICROSOFT.ENTERPRISEMANAGEMENT.GATEWAYAPPROVALTOOL.exe /ManagementServerName=SC1.contoso.LOCAL /GatewayNa
me=sc1.NorthAmerica.LOCAL /SiteName="North America Network"
Errors:
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].
The App log has errors like
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: MICROSOFT.ENTERPRISEMANAGEMENT.GATEWAYAPPROVALTOOL.EXE
P2: 7.0.8560.0
P3: 4f20e8bf
P4: KERNELBASE.dll
P5: 6.1.7601.17932
P6: 503285c2
P7: e0434f4d
P8: 000000000000caed
P9:
P10:
Attached files:
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_MICROSOFT.ENTERP_273d4ca78e6f53cd4e1c1cc9292379da495a17_4a106827
Analysis symbol:
Rechecking for solution: 0
Report Id: 73fcff4e-3f1c-11e2-87b5-00155d479306
Report Status: 0
---------------
Faulting application name: MICROSOFT.ENTERPRISEMANAGEMENT.GATEWAYAPPROVALTOOL.EXE, version: 7.0.8560.0, time stamp: 0x4f20e8bf
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17932, time stamp: 0x503285c2
Exception code: 0xe0434f4d
Fault offset: 0x000000000000caed
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13
Steve Ware