Sunday, September 21, 2014

Troubleshoot Biztalk Server 2013 Error Failed to Load Group Data Providers


A few days ago, I have been doing some Biztalk configuration and Troubleshooting for one of my client.

Background:

I was working on a box where Biztalk was installed by an ex-contractor who had left the company.
Now, I wanted to Launch Biztalk Server Administration via my login and whenever I try to launch it comes up with this error


















Solution:

I had added my userid to the Biztalk Server Administrators group on that computer, and I thought it should have worked becoz that group had enough permissions on SQL Server databases of Biztalk.

However that didn't work and after some troubleshooting, I found that adding my userid directly to SQL and giving my userid permissions to Biztalk databases solved the issue.

Troubleshooting AX 2012 AIF Error The server has rejected the client credentials

Hello Friends,

Thought to share a recent troubleshooting experience with  AX 2012 AIF webservice when consumed through a different domain.

I wrote a Visual Studio Test application to connect to my AIF Service. From within the domain, I can consume the service without any errors. However, when my client program and services are on 2 different domains, I got this error

Error: The server has rejected the client credentials

Solution:

Just before invoking the AIF Service operations, try passing the Windows.ClientCredential through code
  
client.ClientCredentials.Windows.ClientCredential.Domain = "contoso";
client.ClientCredentials.Windows.ClientCredential.UserName = "Admin";
client.ClientCredentials.Windows.ClientCredential.Password = "pass@word1";

The other solution I tried was by creating a claims user as mentioned in fellow blogger Joris Gruyter's post here http://daxmusings.codecrib.com/2011/11/trusted-intermediary-in-aif-services.html

However, it didn't work in my scenario.