Forum Replies Created
-
AuthorPosts
-
thanks for your response, my sql port is windows NT authenticated connection string.
If you are using password protected port, for example, SQL or HTTP receive location make sure the password is correct in your binding
December 4, 2006 at 1:41 PM in reply to: Problem with system class not marked as serializable… #16703I use .EventLog.WriteEntry() all the time without an Atomic Scope Shape.
I think it’s static.
Maybe there is another way to accomplish what you are trying to do using Static methods.
December 4, 2006 at 10:45 AM in reply to: Problem with system class not marked as serializable… #16697If you are using 'System.Diagnostics.EventLog in a classlib as a class member, I would have to disagree with the others, provided you have control over the class lib. In general there is no reason to make the event log object a class member, instantiate within the function where you want to use it. The object does not have any state and little overhead, so it does not need to be a class member.
If you cannot edit the class then you must atomitize it.
Thanks, I didn't see that before. Only the POP3 stuff.
Looks a bit more complex with an intervening level.
December 4, 2006 at 10:09 AM in reply to: Processing 1.5MB file generates 940MB increase in BizTalkMsgBox #16695I kinda expected the Receive process being one big transaction. Despite this all occuring under a single unit of work, it seems strange that the 1.5 MB file would generate an increase of 940 MB in the database tables. We are hoping there are some extensive logging facilities we accidently turned on to account for a large portion of this increase but we do not know enough about the BizTalk -> SQL Server configuation to know if this is the case.
December 4, 2006 at 9:17 AM in reply to: Problem with system class not marked as serializable… #16694you expression shape which contains the calling code needs to be housed in an atomic scope shape. atomic scopes does not have persistence points, so non-serizable code can be called from this.
December 4, 2006 at 8:28 AM in reply to: SQL ERROR -‘MSDASQL’ was unable to begin a distributed transaction." #16693And you're confident that DTC is up and working? DTC must be enabled on BOTH the database server and BizTalk Server(s). You can test DTC by using the DTCPing or DTCTester tools.
Also check out this brand new KB article on how persistence works .. http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b926627&sd=rss&spid=1444.
I'm using a dynamic send port, when I look at the message therer is not message type. The app was working ok. we have recently moved the databases from C to D drive.. would this have ant adverse affect?
Thanks
i want know about biz talk server orchestration please send some samples of abt biz talk server
Reddi
mail :[email protected]
Hello,
Quick promotion is exactly the same as the promotion, but instead of creating the property schema yourself, vs.net will created it for you.
I'm trying to implmenet content based routing, I tried to use the samples schemas from Thomas' sample it doesn't work to
I create a send port that subcribes to all message with specific batchid
I have seen this before sometimes when my message type was an Xml Document. Or when I was using Xml Documents as return types from calling .net components.
Other times, I have seen this when I call a .net component that uses a non-serializable class as a reference.
Hope this helps.
Not sure what a BAI file is myself. But if you just need to rename it, you can do this with BizTalk. Not the best though due to all the message box storage. If you just wanted to rename it, you could set up a Receive Port & Location with a Custom Made Pipeline and a Send Port filtering on it, also with a PassThrough Pipeline. Inside the custom pipeline, you’ll need to look at the File.ReceivedFileName property and change it as needed. Then use the %SourceFileName% macro to name the file.
If you need to convert the data, BizTalk is a better fit. You would want to do that inside the Custom Receive Pipeline. The file naming steps would still be the same.
The purpose of the example is to drop a document in a receive file that has a CustomerID(from Northwind database), this will then be sent to the sql request port which will respond with all the details for that customer and then this document is sent to another FileSendPort.
Ok I made a tiny mistake- when configuring the sql request/response port, i choose "i will always be receiving a message then sending a response" so that explains why it was connecting the opposite way around. But now that I have fixed it when I try to build I get 2 errors:
C:\BiztalkExamples\SQL2WaySendSample\BizTalk Orchestration.odx(287): use of unconstructed message 'Message_2'
C:\BiztalkExamples\SQL2WaySendSample\BizTalk Orchestration.odx(291): use of unconstructed message 'Message_4'When building this I had 4 messages:
message_1: SQL2WaySendSample.SQLService.ReqRoot
message_2: SQL2WaySendSample.procedureRequest
message_3:SQL2WaySendSample.procedureResponse
message_4:SQL2WaySendSample.SQLService.RespRoot
This makes sense to me. But on his screen shot he has only 2 messages?! I realise this is a old example but for every 10 examples I am trying with Biztalk 2004 about 3 are actually working and it is just getting me more and more frustrated. I would really like to know what is it that is going wrong with this, and I think it should work like he said since I have followed the other examples exactly like he said and I had no problems with them.
Sharon
-
AuthorPosts