Note: The following steps do not represent a supportable configuration by Microsoft and extreme caution should be used when following these steps. To my knowledge, these steps are complete, but it is possible that I missed something. These steps have been tested in a Send Port Subscription scenario. Use these instructions at your own risk.
At the organization that I work for, we are rolling out SharePoint 2010. We currently run BizTalk 2009 and at this point in time, the BizTalk 2009 SharePoint Adapter Web Service isn’t supported with SharePoint 2010. BizTalk 2010 has been updated to support SharePoint 2010. We really have no choice but to head in this direction since upgrading to BizTalk 2010 just isn’t an option at this point in time.
When you launch the BizTalk 2009 installation on a SharePoint 2010 Server you will not be able to install the Windows SharePoint Services Adapter Web Service as it is not able to detect the pre-requisite Windows SharePoint Services v 3.0 files.
Mick Badran has a post that helped me out tremendously. However, I found that I had to take a few additional steps so I will recap exactly what we did in order for us to get this to function in our environment.
We had an existing MOSS 2007 server that had the BizTalk Adapter Web Service installed and functioning correctly. Since you cannot use the BizTalk installation wizard to install this Web Service, we decided to reverse engineer what was deployed on MOSS 2007 and manually deploy on SharePoint 2010.
- Copy the c:\program files\Microsoft BizTalk 2009 folder from your MOSS 2007 Server to your SharePoint 2010 Server
- Create the BTSharePointAdapterWS Web Application in IIS Manager and set the physical path to C:\Program Files (x86)\Microsoft BizTalk Server 2009\Business Activity Services\BTSharePointV3AdapterWS
Note: This path represents a 64 bit installation.
- We leveraged the existing App Pool that the SharePoint Site was using
- Modify the web.config to set the appropriate SharePoint Enabled Hosts, if required. For us, we use AD Groups and had to change to reflect our “DEV” AD group
- Rebind the Microsoft.SharePoint.dll to point to version 14.
- We removed the Document Tag so that we could browse the WSDL properly. See this post for more info.
- We then exported two keys from the Registry on our MOSS 2007 Server and import them on your SharePoint 2010 Server:
- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\BizTalk Server]
- [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\BizTalk Server]
- At this point we thought we were done and attempted to push a message from BizTalk 2009 to SharePoint 2010 but discovered the following message in event viewer:
Event Type: Warning
Event Source: BizTalk Server 2009
Event Category: (1)
Event ID: 5743
Time: 1:37:51 PM
The adapter failed to transmit message going to send port "SendPort1" with URL "wss://SERVER:80/DropOffLibrary". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.BizTalk.KwTpm.OfficeImporters2, Version=220.127.116.11, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.BizTalk.KwTpm.OfficeImporters2, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
--- End of inner exception stack trace ---
This error was triggered by the Windows SharePoint Services receive location or send port with URI wss://SERVER:80/DropOffLibrary.
Windows SharePoint Services adapter event ID: 12462".
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Once again it was back to the MOSS 2007 server and more specifically, a trip to the GAC where we discovered the following BizTalk Dlls. This list included the Microsoft.BizTalk.KwTpm.OfficeImporters2.dll that was mentioned in the event viewer. We then pulled these dlls off of the installation CD and gac’d them on the SharePoint 2010 server using gacutil.
After Gac’ing these assemblies we had success pushing messages from BizTalk 2009 to SharePoint 2010.
Note: There is another option which I have not tried that Kirk Hofer discusses here. It involves installing WSS v3.0 SP2, but not configuring it, so that the BizTalk install Wizard thinks it is installed. Our SharePoint team was not crazy about having these other dlls on their fresh SharePoint 2010 server so we were unable to proceed with this approach.