‘Could not load file or assembly ‘Microsoft.Interop.Security.AzRoles, Version=1.2.0.0…’ when installing GP 2010 Web Services

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=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.

File name: ‘Microsoft.Interop.Security.AzRoles, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’

I looked in the GAC and I have version 2.0.0.0 installed, but not 1.2.0.0. 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 2.0.0.0 (not safe), or somehow install 1.2.0.0 on my system.

To get a copy of version 1.2.0.0 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.

Advertisement

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.
This entry was posted in Dynamics GP. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s