I was installing GP 2010 Web Services on a Windows Server 2012 R2 and received the error below:
System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.Interop.Security.AzRoles, Version=220.127.116.11, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
File name: ‘Microsoft.Interop.Security.AzRoles, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31bf3856ad364e35’
I looked in the GAC and I have version 22.214.171.124 installed, but not 126.96.36.199. Someone posted a solution that upgrading to GP 2010 SP 2 fixes the problem, but I was already running SP 3. Other people running SP 4 were also experiencing the issue.
The two possible solutions I could think of was to do an assembly redirect to 188.8.131.52 (not safe), or somehow install 184.108.40.206 on my system.
To get a copy of version 220.127.116.11 of this DLL, download the Windows 2000 Authorization Manager Runtime from this link: http://www.microsoft.com/en-au/download/details.aspx?id=13225.
This is a self-extracting package that creates a folder in the current location when you run it. Within this folder, you can find the DLL in the PIA\1.2 folder. Install this DLL into the GAC and the installation should work.
After the installation has completed, you should verify that the Web Services are working correctly following the steps in this article: http://support.microsoft.com/kb/950844.