Forum Replies Created
-
AuthorPosts
-
Failed updating binding information. BindingException: Could not validate TransportTypeData or Address properties for Primary Transport of Send Port ‘IdeaToDms_19UpdateIdea’. Exception from HRESULT: 0x80131500
I just put added this to my blog (http://nealwalters.blogspot.com)
Here are some steps:
1) If you are using client-network utility – make sure that it is set up properly on the target machine.
2) If you are using non-integrated security, there will be a password=******** in the binding file, you will need to change this to the real password for the target system.
3) It’s often a security or logon issue; have your security people or database admins added the userid to the target system, had it been granted the necessary security to actually run the stored proc. My suggestion is to logon SQL Query Analyzer with the desired userid/password, and try to run the stored proc or SQL command. Once you get error eliminated here, then redeploy.
Neal Walters
http://Biztalk-Training.com – 3 CD/ROM VideosIf Orch-A calls Orch-B using the \”Call Orch\” shape – it looks to me like the Orch-B never shows up in HAT. So when Orch-B blow up or you just want to see the debugger to see the data flow, is there a way to do it?
The site that I’m at usually uses direct binding and does a send/receive to essentially call another orchestration – but then you have to deal with the problem of setting the correlation (especially the hassle if it is in a loop).
Thanks,
Neal Walters
http://Biztalk-Training.com – Learn Biztalk With Videosi am doing this task(EAI) which is given as a sample in the biztalk doc.
and iam getting this error.while doing frist time.Microsoft.BizTalk.Deployment.DeploymentException] Unable to deploy early bindings. [Microsoft.BizTalk.Deployment.Binding.BindingException] Failed updating binding information. BindingException: Address should be unique. Address ‘C:\\Tutorial\\Filedrop\\ReceiveRequest\\*.xml’ is already present for <Receive Location – EAIorchestrations_1.0.0.0_EAIorchestrations.EAIprocess_ReceiveReqPort_34cdaa91fb23cf97_ReceiveLocation> Refresh and try again. [Microsoft.BizTalk.ExplorerOM.ConcurrencyException] Address should be unique. Address ‘C:\\Tutorial\\Filedrop\\ReceiveRequest\\*.xml’ is already present for <Receive Location – EAIorchestrations_1.0.0.0_EAIorchestrations.EAIprocess_ReceiveReqPort_34cdaa91fb23cf97_ReceiveLocation> Refresh and try again.
Why we are copying the Tutorial folder from SDK to root of the C: drive for creation of a strong name key file.
And can you tell me the importance of doing the process.
Ex:
<install drive>:\\\\SDK\\ to the root of the C drive.Right. There’s a distinction between Context field and a Property field
the reason why you can’t construct a message in a loop is because a message can only be constructed once 🙂
\”A very important concept to understand is that all messages are immutable in BizTalk Server 2004. This means that after a message is constructed, it cannot be changed. \”
from
My get around for now is to construct the message before the loop.
I think using the message as an output message in the CALL shape, is a get around of the immutability of messages rule.
Neal Walters
http://Biztalk-Training.comGino – Orch-A needs to basically call Orch-B, but instead of using the CALL shape at this client, they send a message using direct binding and they do correlation.
We opened a Microsoft indicident on this. It turns out that it is a problem with the SOAP Headers. We have a pipeline that promotes the SOAP headers when the file is dropped in a flat file or MSMQ, but there is now way to promote the fields with direct binding – i.e. no pipeline can be assigned to direct binding.
Thus, when Orch-B initializes correlation on the return message, that in effect promotes the field from the SOAP header. This is not a problem when using \”normal\” promoted fields in the message itself.
Interestingly enough, a property can be in the \”context\” message, and still have the isPromoted value set to either true or false. I’m not sure why all context fields are not considered promoted, but they are not – Microsoft said \”by design\” and for efficiency.
Neal Walters
http://Biztalk-Training.comI needed to do correlation in a loop, so I broke that off to a sub-orchestration. In other words, the loop contains the call to the sub-orch.
The suborch receives as a request messagea as input parameter, and returns a response message as an output parameter.
I have debug/expression shapes sprinkled throughout my code.
When I \”build\”, I don’t get \”use of constructed message\” inside the loop, but on the first debug after the loop I get it.Is there type of local scope for loops? How do I get around this?
Thanks,
Neal Walters
http://Biztalk-Training.comok false alarm. All i had to do is add the assembly to GAC in control panel -> .Net Config 1.1
thanks, I’m going to try with your advices.
Saludos. Mauricio
if orchA sends a message and orchB receives it then you dont need to correlate anything. if orchB is set to accept the message of that type it will accept any message and do whatever is necessary. I dont see where correlation comes into the picture. In orchB you need to have an activate receive shape which will receive the message.
At first i thought you were calling/starting OrchB from OrchA and passing a message but it doesnt seem to be the case.
Gino
[quote:7afdfa635d]What can cause this message for a non-activation receive?
1. You must specify at least one already-initialized correlation for a non-activation receive that is on a non-selfcorrelating port. [/quote:7afdfa635d]this is really simple. since all messages get dropped into the messagebox, you need to follow a correlation for the biztalk server to be able to route the message to that particular correlation. If the message does not carry some identification info, there’s no way for biztalk server to know which particular instance of the orchestration is waiting for that message. If you need to have two receive shapes which do not follow a correlation then you need to have either a listen shape or a parellel shape marking both receives as activating.
Gino
You can wrap each call to the database with a web service.
Some people think this is more Service-Oriented-Architecture (SOA).Question – do other programs need to share the same data access logic?
Disadvantage is extra code you have to write. Advantage is you don’t depend on the SQL adapter, and can more easily switch data stores.
You can also use a Data Access Layer approach, where you call C# static functions from within the \”Expression\” shapes in your orchestration.
Stored Procs of course provide one level of abstraction from the physical database. I would at least suggest calling stored proc rather than actual SQL commands.
Neal Walters
http://Biztalk-Training.comAre you using a request/response port or a one-way send port?
If one-way – it is async, and the orch continues without error checking (the only way to catch error is by using an secondary transport protocol and writing the message to a file).
So if you want to catch SOAP-Exception for SQL in an orch – you MUST do a request/response port. This also implies that your Stored Proc return something, if only a \”Success\” or \”Failure\” flag.
Neal Walters
http://Biztalk-Training.com -
AuthorPosts