message tracking issue in BizTalk 2004

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I am currently working on integration project that is utilising BizTalk
2004. We are receiving intermittent exceptions occurring in the BizTalk
framework which we believe could be down to a network infrastructure issue.
Occasionally we are unable to ping any of the BizTalk servers for about 10
seconds - this is very intermittent and we believe it causes the following
error:

The following stored procedure call failed: " { call
[dbo].[bts_AdminPreemptiveOperateOnInstances_OrchestrationHost]( ?, ?, ?, ?,
?)}". SQL Server returned error string: "The statement has been
terminated.;Cannot insert the value NULL into column 'strDBServer', table
'MsgBox.dbo.TrackingData'; column does not allow nulls. INSERT fails.;The
statement has been terminated.;Cannot insert the value NULL into column
'strDBServer', table 'MsgBox.dbo.TrackingData'; column does not allow nulls.
INSERT fails.;The statement has been terminated.;Cannot insert the value
NULL into column 'strDBServer', table 'MsgBox.dbo.TrackingData'; column does
not allow nulls. INSERT fails.;The statement has been terminated.;Cannot
insert the value NULL into column 'strDBServer', table
'MsgBox.dbo.TrackingData'; column does not allow nulls. INSERT fails.".


It appears from the above entry in the application event log that when the
BizTalk framework attempts to resolve\validate a computer name and stored
the result in the 'strDBServer' parameter - if it fails this value is null.
When the SP on the MsgBox database is called it fails because of the null
value.

I believe the issues we are having are related to connectivity to our
DNS\WINS server. To prove the point to our network infrastructure team I
need to get some better understanding of what exactly causes this issue in
BizTalk. So the questions I have are:

Does anyone know what steps occur in code before the
'[dbo].[bts_AdminPreemptiveOperateOnInstances_OrchestrationHost]( ?, ?, ?,
?, ?)}' stored procedure is called - specifically the code that sets the
'strDBServer' variable?

If the server name is resolved\validated before the
'[dbo].[bts_AdminPreemptiveOperateOnInstances_OrchestrationHost]( ?, ?, ?,
?, ?)}' stored procedure is called is the result of the
resolution\validation cached in BizTalk?

Cheers in advance

Ollie Riches


.



Relevant Pages

  • Re: message tracking issue in BizTalk 2004
    ... Have you run SQL Profiler on the msgbox machine to see what's going on from ... We are receiving intermittent exceptions occurring in the BizTalk ... > terminated.;Cannot insert the value NULL into column 'strDBServer', ... column does not allow nulls. ...
    (microsoft.public.biztalk.server)
  • Re: Database polling with adapters
    ... The adapter allows you to be configured so that it continues polling until it once receives an empty result set. ... The Stored Procedure make a status update to indicate that the set of records is read already. ... I have some questions regarding the use of database adapters in Biztalk ... a certain intervall. ...
    (microsoft.public.biztalk.general)
  • Sending and Receiving from SQL
    ... BizTalk help. ... Search for "Using the SQL Adapter with a Stored Procedure ... XML file then sent to an AIC component via BizTalk Port ...
    (microsoft.public.biztalk.general)
  • Call to 2 stored procedures is out of synch
    ... I have an issue with an existing BizTalk application, ... The input xml file, contains numerous records, ... This call will translate to 200 stored procedure calls (inserts, ... Next, another long-running scope is called, which executes one update ...
    (microsoft.public.biztalk.general)
  • RE: Cannot retrieve more than 50000 records
    ... There is no doubt BizTalk is an enterprise product, ... We have built a routine to call a StoredProcedure on an IBM DB2 server ... One possible option is to amend the Stored procedure to do a Select TOP ... do this stating that Biztalk is supposed to be Enterprise ...
    (microsoft.public.biztalk.general)