SQL adapter datagrams fail to set int/bit column when the value is
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server > SQL adapter datagrams fail to set int/bit column when the value is




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SQL adapter datagrams fail to set int/bit column when the value is  
frog


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-07-05 10:55 PM

Hi,

When I tried to use datagram to insert data in the DB with SQL adapter
for BizTalk 2004, the integer/bit column is set as NULL when 1 is passed in.

For bit field, if 0 is passed in, the value is set as expected.

for integer field, if 2 and above is passed in, the value is set as
expected.



Please advise

if there is patch out there for this issue. Or if I missed anything when
setup my system.

Best regards



ming



Here is how to repro it:

Please refer to the example published at


http://msdn.microsoft.com/library/d...768ff245df1.asp



Once you install the sample code,  start the orchestration
BizTalkAdapterForSQLServer.Samples.SQL_Adapter_Updategram

1)  copy the test xml in

C:\BizTalk Adapter for SQL
Server\SQL_Adapter_Updategram\TestFiles to

C:\BizTalk Adapter for SQL  Server\SQL_Adapter_Updategram\FilePickup




Use the sql analyzer to check for the new item just inserted into the
northwind db, you should be able to see that the viaship filed is NULL



2) Change the ShipMethod element from 1 to 2 in the same test xml as
above in the dir

C:\BizTalk Adapter for SQL Server\SQL_Adapter_Updategram\TestFiles



Then copy this file to the

C:\BizTalk Adapter for SQL  Server\SQL_Adapter_Updategram\FilePickup


Check the viaship column of the new record, this column is now 2 as
expected.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:25 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register