Geeks With Blogs
Koushal Deshpande kd

Post is in continuation of First ESB Itinerary (Post 1).

Once all components are connected and configured we are ready to save the itinerary... but once you try to save the itinerary you will get following error. I had to spent sometime to fix this error which was quite straight forward to fix. So what was wrong...?

The property indicated in red should be set to false. Once that is done designer would save. But along with that unless you actually want to use certificate, you have to make changes at two different places. First is in config file for designer which you can find at "C:\Program Files (x86)\Microsoft BizTalk ESB Toolkit 2.1\Tools\Itinerary Designer". Open "ruleset.config" file. Search for "EncryptionCertificate".

Comment the section "EncryptingCertificate validator".

Next open registry editor. Go to HKLM\SOFTWARE\Microsoft\BizTalk ESB Toolkit\2.1\Designer. Open the registry key RequireX509Certificate. Change it to false.

Go to HKLM\SOFTWARE\Wow6432Node\Microsoft\BizTalk ESB Toolkit\2.1\Designer. Open the registry key RequireX509Certificate and Change it to false as well.

Now return back to designer and right click "Validate all". This should check all of your components placed on designer. Once successful save. Again right click and Click on "Export Model". This will create model at path mentioned in "Itinerary XML File" property. Default it is in user directory\Documents\My Itineraries\{itinerary_name}.xml

Once this is successful go to Visual Studio Command Prompt. Go to "C:\Program Files (x86)\Microsoft BizTalk ESB Toolkit 2.1\Bin". Run following command to deploy the itinerary in ESB Itinerary Database.

EsbImportUtil.exe /f:"path of itinerary xml file" /c:deployed /o

It would display message of succeful import to database or else error in case anything goes wrong.

Now go to receive location we created earlier. Open properties to configure for it. We have to enter "ItineraryFactKey" and "ResolverConnectionString" property as below.

Once values are entered. Save it. Go to send port. Open properties window for ItinerarySendPassthrough. Set validate as false. Save it.

Restart host instance configured. If default it will be BiztalkServerApplication host instance. Go to MS SQL Server mnagement studio.

Run SELECT *  FROM [EsbItineraryDb].[dbo].[Itinerary] command. It will give you following or simillar result.

Click on xml of imITML column. It will show you xml which was generated while exporting as below:

Our application is deployed and ready to be tested. You can put any message or xml message if using disassembler at receive location. You should expect output at sent port configured in designer.

Here ends first lesson for BizTalk ESB.

   

Posted on Wednesday, May 22, 2013 11:21 AM ESB , Itinerary , Itinierary Service , Designer , EncryptionCertificate error , X509 Certificate error | Back to top


Comments on this post: First ESB Itinerary (Post 2)

# re: First ESB Itinerary (Post 2)
Requesting Gravatar...
I am getting the error in BTS administrator "The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted. Please use the Biztalk Administration console to troubleshoot this failure. "

Do i still need to create a send port filter with recieve port name .
Left by ESB Guy on Oct 13, 2014 12:47 PM

# re: First ESB Itinerary (Post 2)
Requesting Gravatar...
I am getting the error in BTS administrator "The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted. Please use the Biztalk Administration console to troubleshoot this failure. "


I am also getting same error. ANY UPLOADS ON THIS ISSUE REPORTED?
Left by Kavitha on Nov 20, 2014 3:39 PM

# re: First ESB Itinerary (Post 2)
Requesting Gravatar...
Did anyone get resolution on this? I am also getting the exact same error.
Left by Henry on Jul 06, 2016 9:30 PM

# re: First ESB Itinerary (Post 2)
Requesting Gravatar...
Hi Guys,
Set Export Mode to "Default" (It must be "Static") under Itinerary Model.
Left by Sagar on Dec 20, 2016 3:21 PM

Your comment:
 (will show your gravatar)


Copyright © Koushal Deshpande | Powered by: GeeksWithBlogs.net