03 Dec NULL adapter on BizTalk
In this short tutorial I will explain how to install a NULL adapter on BizTalk 2010 (64-bit platform with Windows 7).
Note: BizTalk 2010 is the predecessor of BizTalk 2013 and 2013R2, but is still quite popular and used in companies. It’s good to be aware that its mainstream support end in one year from now (December 1st, 2016).
Having a NULL adapter is fairly useless, unless you want to get rid of messages, without leaving an error trace in the event log, saying “The published message could not be routed because no subscribers were found”.
- Download the sample adapter from Winterdom (Created in 2004 and still works fine).
- Edit the NullAdapter.reg in Notepad
- Change the path of the .dll to the correct one. You need to do this two times in the file.
To the correct path. In our case it’s “C:\Users\i8c\Downloads\NullAdapterSol\NullAdapter\bin\Debug\Winterdom.BizTalk.Adapters.NullAdapter.dll”
The .dll can be found in “NullAdapterSol\NullAdapter\bin\Debug”
- Save and close the reg-file.
- Double click the reg-file
- Open up a Command Prompt as an admin.
- Cd \Windows\SysWOW64
- C:\Users\i8c\Downloads\NullAdapterSol\NullAdapter\ reg
- Cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
- exe C:\Users\i8c\Downloads\NullAdapterSol\NullAdapter\bin\Debug
- exe C:\Users\i8c\Downloads\NullAdapterSol\NullAdapter\bin\Debug\Winterdom.BizTalk.Adapters.NullAdapter.dll
- Open “BizTalk Server Administration Console”
- Click BizTalk Group -> “Platform Settings” -> Right click “Adapters” -> “New”
- Enter “NULL” as the name and select “/dev/null” as the adapter.
- You are done!
Note: By default, when double clicking a registry file, it will be added to the registry. But for BizTalk, it is added to the wrong registry. Therefore we need to open a command prompt as we did in step 6, and add this file to the 32-bit registry using the regedit.exe, which represents step 6.1.
Author: Jordy Maes