Tuesday, July 14, 2009

ESB Error: UDDI.aspx page throws error

If you open the UDDI page on the ESB Portal you get the following error:

An unexpected error occurred retrieving the category, 'microsoft-com:esb:runtimeresolution:biztalkapplication', from the system. ---> The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'NTLM'. ---> The remote server returned an error: (401) Unauthorized.

To fix this error, open system32\inetsrv\applicationHost.config (you may want to make a copy first), and go down to the UDDI web site tags. Change the windowsauthentication value and add "Negotiate" as a provider. Example follows:

Change
<location path="Default Web Site/uddi">
<system.webserver>
...
<security>
<windowsauthentication enabled="true"/>
...

to

<location path="Default Web Site/uddi">
<system.webserver>
...
<security>
<authentication>
<windowsauthentication enabled="true">
<providers>
<add value="Negotiate">
</add>
</providers>
</windowsauthentication>...

Restart IIS and it works.

1 comment:

Justin said...

Great series of posts setting up the ESB toolkit. I had all the same problems and your posts were extremely useful!