WCF – The action is invalid or unrecognized error

October 15th, 2008  |  Published in BizTalk Tips

When consuming a WCF Service in BizTalk, I came across the error: The action is invalid or unrecognized.

The reason was that when I created the logical Request/Response port for the service in the orchestration, I used a new port type.

When generating the files for consuming the service, BizTalk had automatically created a Port Type for the Request/Response port. When I used this port type, the error went away.

Allow Early Termination

September 19th, 2008  |  Published in BizTalk Tips  |  1 Comment

The “Allow Early Termination” property in Flat File Schema allows the last element before (CR/LF) to be shorter than specified.

Even though it is not documented anywhere, we can find that it also allows the last element to be longer than the specified characters.

BizTalk 2004 Install Issues

June 27th, 2008  |  Published in BizTalk Tips

I have had to install BizTalk Server 2004 on several desktops/laptops with Windows XP SP2 for developers working with me. I have seen several people struggle for days to complete installation and configuration.

Solutions for common errors during the install:

1. Remove .NET Framework 2.0 and above using the available tools

2. Add user “NETWORK SERVICE” on local machine and grant full permissions on %SystemRoot%\Temp

3. Add “127.0.0.1    Fully Qualified Machine Name” in etc\hosts file

4. Add Registry key “RPC” to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT and add DWORD  EnableAuthEpResolution =1

5. Enable MSDTC with “No Authentication Needed”

6. Reboot the machine

I intend to add details for each step when time permits.

IMPORTANT: DO THESE AT YOUR OWN RISK