SYMPTOMS
When you try to enlist either a dynamic one-way send port or a dynamic solicit-response send port in Microsoft BizTalk Server 2004, an error that is similar to the following is logged in the event log:
The following stored procedure call failed: " { call [dbo].[]( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}". SQL Server returned error string: "The statement has been terminated.;Cannot insert the value NULL into column 'uidSubID', table 'BizTalkMsgBoxDb.dbo.Subscription'; column does not allow nulls. INSERT fails.
Note Only dynamic send ports experience this problem.
WORKAROUND
To work around this problem, follow these steps:
- Remove either the dynamic one-way port or the dynamic solicit-response port that was created before the MSMQT was registered.
- Re-create the dynamic one-way port or the dynamic solicit-response port.
Note When you enlist the dynamic send port, the enlistment is now successful.