Error Configuring BizTalk SharePoint Adapter on SharePoint SP1

This article provides a workaround for installing the BizTalk WSS Adapter on MOSS SP1 when you receive the following error: "Make sure the site is extended by Windows SharePoint Services. (CWssAdaCfg), " or "The data is invalid.  Click on the error icon to view the error message."

image

When you click on the error icon, you see the following error.

image 

During configuration, the wizard calls an external program Microsoft.BizTalk.KwTpm.StsOmInterop3.exe which determines whether a virtual server has been extended by SharePoint.  This program takes the virtual server Url as an argument.  The wizard passes the incorrect url causing the configuration to fail.

To troubleshoot the issue, you must find out which url is being passed to the program, and there are two ways to get this information.  With the first approach, you browse to select the Windows group and then click Apply Configuration.

image

The configuration will fail, but it may provide you with the information you need (I had different results on different servers).  In the following screen, you can see that even though I selected https://litwareinc.com as the site to install the adapter to, the wizard attempted to use https://machinename

image

To manually test, run the virtual server checker program passing the url:

image

The second approach to obtaining the url is to use Process Monitor.  Filter the Process Name so that only Configuration.exe is included:

 image

Locate the entry where the call is made to the virtual server checker and obtain the url.

image

To work around the issue, temporarily add an alternate access mapping that matches the url.  Make sure the Alternate Access Mapping Collection is the one you want to install the adapter to.  Click Edit Public URLs:

image

Enter the url (in this case https://machinename) and click save

image

To test the issue, run the virtual server checker program again  You should see Success

image

Re-run the configuration wizard and the error icon should be gone

image

You will be able to proceed with the installation

image

 

References and Additional Reading