SlideShare a Scribd company logo
1 of 27
INTEGRATION DAY
2015
Sandro Pereira | DevScope | Microsoft Integration MVP
BizTalk Server Deep Dive Tips & Tricks
for Developers and Admins
Good morning….
http://www.biztalk360.com/biztalk-mapping-patterns/
BizTalk Mapping Patterns and Best Practices
Sandro Pereira brought to you by
 BizTalk Server tips and tricks for administrators
Maintain the health of BizTalk platforms
 BizTalk Server tips and tricks for developers
Good tools and techniques to produce eficiente solutions
and as quickly as possible
 Director's cut…
If we still have time… 
…that always try to difficult the
developer’s life style
unnecessary information
TIP #3 – BizTalk MarkLog tables
BAMAlertsApplication
BAMArchive
BAMPrimaryImport
BizTalkDTADb
BizTalkMgmtDb
BizTalkMsgBoxDb
BizTalkRuleEngineDb
SSODB
Holding all the
transaction marks
created by the 3th step
(MarkAndBackUpLog)
of the ‘Backup BizTalk
Server’ job
No Cleanup
process!
Tables are
always growing
Clean up the
MarkLog
table with
Terminator?!?
SAP RFC SDK 7.20 UNICODE 64-bit
• Copy the content of lib folder to
• c:WindowsSystem32
SAP RFC SDK 7.20 UNICODE 32-bit
• Copy the content of lib folder to
• c:WindowsSysWOW64
Execute the “R3DLLINS.EXE” tool
• check if DLL are present in
“c:WindowsSystem32”
Installed Microsoft Visual C++ 2005
SP1 Redistributable Package – 32-bit
and 64-bit
WCF-SAP
Adapter
Yes, it does!
The SAP adapter supports both the
32 & 64-bit versions of the SAP RFC
SDK, so it can run under 32 or 64-
bit Host Instances
Unicode version of the RFC SDK is
required
• Doesn’t matter if your SAP
system is Unicode or non-
Unicode
https://sandroaspbiztalkblog.wordpress.com/2015/03/
04/biztalk-server-20132013-r2-step-by-step-wcf-sap-
adapter-installation-guide
Full tracking enable
in integration scenarios:
Message archiving
…thinking in debatching mode
in a unrecoverable
interchange mode
Or use the standard pipelines a
SetScriptBuffer
…
SetScriptBuffer(ScriptType.CSharp,
this.GetCSharpBuffer());
…
private string GetCSharpBuffer()
{
StringBuilder builder = new StringBuilder();
builder.Append("public bool Compare(string strA, string
strB, string ignoreCase)n");
builder.Append("{n");
builder.Append("tbool isToIgnoreCase = false;n");
builder.Append("tbool outBooleanResult =
bool.TryParse(ignoreCase, out isToIgnoreCase);n");
builder.Append("tif (string.Compare(strA, strB,
isToIgnoreCase) == 0)n");
builder.Append("ttreturn true;n");
builder.Append("treturn false;n");
builder.Append("}n");
return builder.ToString();
}
SetExternalFunctionName
this.Category = FunctoidCategory.String;
this.SetMinParams(3);
this.SetMaxParams(3);
…
SetExternalFunctionName(GetType().Assembl
y.FullName, GetType().FullName,
"Compare");
…
public bool Compare(string strA, string
strB, bool ignoreCase)
{
if (string.Compare(strA, strB,
ignoreCase) == 0)
return true;
return false;
}
What is the correct value
for the connection string?
Monitor your BizTalk environment using PowerShell –
Suspended instance monitoring
Monitor your BizTalk environment using PowerShell –
Monitoring Windows Updates and Pending Restarts
Monitor your BizTalk environment using PowerShell – Disk
Space Monitoring
Monitor your BizTalk environment using PowerShell – SQL
Agent Jobs Monitoring
Monitor your BizTalk environment using PowerShell – SQL
Agent Jobs Monitoring (Part 2
http://social.technet.microsoft.com/wiki/contents/articles/311
54.biztalk-devops-monitor-your-biztalk-environment-using-
powershell.aspx
only happen 1 time per
day
Installation
BizTalk Accelerator for
RosettaNet is available in the
BizTalk Server installation disk
(ISO) under:
• “BizTalk Accelerators” folder
BtarnAPP Web application is
referencing .NET Framework 2.0
You need to create a
WebService extension for
BTSHTTPReceive.dll, configuring
the IIS isolation mode.
BTARN does not support the
use of alias created for SQL
instance to configure the
BTARN database
Requires IIS_WPG group
Host Instances
The accelerator requires both
in-process and isolated host to
be marked as "Authentication
Trusted" and "32-bit only“
The BizTalk Host Instance
Account and the BizTalk
Isolated Host Instance Account
should be the same
Do never use Full Qualify
domain name in the Logon
credentials
Make sure the BTARN in-
process host is the default send
handler of HTTP Adapter
BAM
BTARN supports enhanced
tracking using BizTalk Activity
Monitoring (BAM).
• Right-click the BizTalk
Accelerator for RosettaNet node
and then click Properties.
• In the Global Properties dialog
box, select Enable BAM Tracking
to enable tracking, or clear this
option to disable it.
Microsoft provide a Tracking file
with the activity definitions
however:
• The tracking points are not
customizable;
do not change activity
definitions.
• You can Manage BAM views and
deployment.
Databases Maintenance
Remember TIP #1
• BTARN database are not
backuped by default
There are no maintenance
processes to clean up this
database
• BTARN databases can grow
quickly because they contain the
PIP XML that you are processing
• They can effect the performance
of your environment
• There are important
You need to create this
maintenance processes
according to the legal
requirements of the company
Extending BTARN
with a New PIP
BizTalk Server Deep Dive Tips & Tricks for Developers and Admins
BizTalk Server Deep Dive Tips & Tricks for Developers and Admins

More Related Content

Viewers also liked

Integration Tales: Logic & API apps to the rescue!
Integration Tales: Logic & API apps to the rescue!Integration Tales: Logic & API apps to the rescue!
Integration Tales: Logic & API apps to the rescue!Sandro Pereira
 
BizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA IT
BizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA ITBizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA IT
BizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA ITSandro Pereira
 
Concepts integrationandbiztalksoa andbpm
Concepts integrationandbiztalksoa andbpm Concepts integrationandbiztalksoa andbpm
Concepts integrationandbiztalksoa andbpm Sandro Pereira
 
BizTalk Server - Como funcionam os Mapas
BizTalk Server - Como funcionam os MapasBizTalk Server - Como funcionam os Mapas
BizTalk Server - Como funcionam os MapasSandro Pereira
 
BizTalk: Server, Services and Apps
BizTalk: Server, Services and AppsBizTalk: Server, Services and Apps
BizTalk: Server, Services and AppsSandro Pereira
 
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic Apps2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic AppsSandro Pereira
 
BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...
BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...
BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...Sandro Pereira
 
BizTalk Server - Princípios básicos dos Mapas
BizTalk Server  - Princípios básicos dos MapasBizTalk Server  - Princípios básicos dos Mapas
BizTalk Server - Princípios básicos dos MapasSandro Pereira
 
BizTalk Mapper: Como funcionam os mapas em BizTalk Server 2010
BizTalk Mapper: Como funcionam os mapas em BizTalk Server 2010BizTalk Mapper: Como funcionam os mapas em BizTalk Server 2010
BizTalk Mapper: Como funcionam os mapas em BizTalk Server 2010Sandro Pereira
 
BizTalk Mapping Patterns and Best Practices at Bouvet BizTalk Innovation Day ...
BizTalk Mapping Patterns and Best Practices at Bouvet BizTalk Innovation Day ...BizTalk Mapping Patterns and Best Practices at Bouvet BizTalk Innovation Day ...
BizTalk Mapping Patterns and Best Practices at Bouvet BizTalk Innovation Day ...Sandro Pereira
 
Business activity monitoring (bam) nas trocas electrónicas de documentos (edi...
Business activity monitoring (bam) nas trocas electrónicas de documentos (edi...Business activity monitoring (bam) nas trocas electrónicas de documentos (edi...
Business activity monitoring (bam) nas trocas electrónicas de documentos (edi...Sandro Pereira
 
BizTalk Server – Basics principles of maps
BizTalk Server – Basics principles of mapsBizTalk Server – Basics principles of maps
BizTalk Server – Basics principles of mapsSandro Pereira
 
5 Marketing Trends That Could Grow Your Business
5 Marketing Trends That Could Grow Your Business5 Marketing Trends That Could Grow Your Business
5 Marketing Trends That Could Grow Your BusinessinterlinkONE
 
What new in Integration with BizTalk Server 2013 R2
What new in Integration with BizTalk Server 2013 R2What new in Integration with BizTalk Server 2013 R2
What new in Integration with BizTalk Server 2013 R2Bill Chesnut
 
Introduction to BizTalk Server 2010
Introduction to BizTalk Server 2010Introduction to BizTalk Server 2010
Introduction to BizTalk Server 2010Sandro Pereira
 
BizTalk Orchestration Fundamentals
BizTalk Orchestration FundamentalsBizTalk Orchestration Fundamentals
BizTalk Orchestration FundamentalsManoj Kumar
 
How to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk ServerHow to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk ServerSandro Pereira
 
BizTalk Fundamentals
BizTalk  FundamentalsBizTalk  Fundamentals
BizTalk FundamentalsManoj Kumar
 

Viewers also liked (20)

Integration Tales: Logic & API apps to the rescue!
Integration Tales: Logic & API apps to the rescue!Integration Tales: Logic & API apps to the rescue!
Integration Tales: Logic & API apps to the rescue!
 
BizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA IT
BizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA ITBizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA IT
BizTalk Server Deep Dive Tips and Tricks For Developers and Admins at TUGA IT
 
Concepts integrationandbiztalksoa andbpm
Concepts integrationandbiztalksoa andbpm Concepts integrationandbiztalksoa andbpm
Concepts integrationandbiztalksoa andbpm
 
BizTalk Server - Como funcionam os Mapas
BizTalk Server - Como funcionam os MapasBizTalk Server - Como funcionam os Mapas
BizTalk Server - Como funcionam os Mapas
 
BizTalk: Server, Services and Apps
BizTalk: Server, Services and AppsBizTalk: Server, Services and Apps
BizTalk: Server, Services and Apps
 
Biz Talk Overview
Biz Talk OverviewBiz Talk Overview
Biz Talk Overview
 
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic Apps2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
 
BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...
BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...
BizTalk Mapping Patterns and Best Practices at BizTalk User Group Sweden in G...
 
BizTalk Server - Princípios básicos dos Mapas
BizTalk Server  - Princípios básicos dos MapasBizTalk Server  - Princípios básicos dos Mapas
BizTalk Server - Princípios básicos dos Mapas
 
BizTalk Mapper: Como funcionam os mapas em BizTalk Server 2010
BizTalk Mapper: Como funcionam os mapas em BizTalk Server 2010BizTalk Mapper: Como funcionam os mapas em BizTalk Server 2010
BizTalk Mapper: Como funcionam os mapas em BizTalk Server 2010
 
BizTalk Mapping Patterns and Best Practices at Bouvet BizTalk Innovation Day ...
BizTalk Mapping Patterns and Best Practices at Bouvet BizTalk Innovation Day ...BizTalk Mapping Patterns and Best Practices at Bouvet BizTalk Innovation Day ...
BizTalk Mapping Patterns and Best Practices at Bouvet BizTalk Innovation Day ...
 
Business activity monitoring (bam) nas trocas electrónicas de documentos (edi...
Business activity monitoring (bam) nas trocas electrónicas de documentos (edi...Business activity monitoring (bam) nas trocas electrónicas de documentos (edi...
Business activity monitoring (bam) nas trocas electrónicas de documentos (edi...
 
BizTalk Server – Basics principles of maps
BizTalk Server – Basics principles of mapsBizTalk Server – Basics principles of maps
BizTalk Server – Basics principles of maps
 
5 Marketing Trends That Could Grow Your Business
5 Marketing Trends That Could Grow Your Business5 Marketing Trends That Could Grow Your Business
5 Marketing Trends That Could Grow Your Business
 
What new in Integration with BizTalk Server 2013 R2
What new in Integration with BizTalk Server 2013 R2What new in Integration with BizTalk Server 2013 R2
What new in Integration with BizTalk Server 2013 R2
 
Introduction to BizTalk Server 2010
Introduction to BizTalk Server 2010Introduction to BizTalk Server 2010
Introduction to BizTalk Server 2010
 
BizTalk Server- Schema
BizTalk Server-  SchemaBizTalk Server-  Schema
BizTalk Server- Schema
 
BizTalk Orchestration Fundamentals
BizTalk Orchestration FundamentalsBizTalk Orchestration Fundamentals
BizTalk Orchestration Fundamentals
 
How to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk ServerHow to process Flat Files documents (TXT, CSV …) in BizTalk Server
How to process Flat Files documents (TXT, CSV …) in BizTalk Server
 
BizTalk Fundamentals
BizTalk  FundamentalsBizTalk  Fundamentals
BizTalk Fundamentals
 

Similar to BizTalk Server Deep Dive Tips & Tricks for Developers and Admins

Vskills certified enterprise applications integration specialist with micros...
Vskills certified enterprise applications integration specialist  with micros...Vskills certified enterprise applications integration specialist  with micros...
Vskills certified enterprise applications integration specialist with micros...Vskills
 
Biztalk Server 2010: Introdução
Biztalk Server 2010: IntroduçãoBiztalk Server 2010: Introdução
Biztalk Server 2010: IntroduçãoComunidade NetPonto
 
BizTalk Server Extensibility
BizTalk Server ExtensibilityBizTalk Server Extensibility
BizTalk Server ExtensibilityBizTalk360
 
Integrate 2020 - Sandro Pereira - BizTalk Server 2020 migration path
Integrate 2020 - Sandro Pereira - BizTalk Server 2020 migration pathIntegrate 2020 - Sandro Pereira - BizTalk Server 2020 migration path
Integrate 2020 - Sandro Pereira - BizTalk Server 2020 migration pathSandro Pereira
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006ipaciti
 
Welcome to Blazor
Welcome to BlazorWelcome to Blazor
Welcome to Blazordark_wisdom
 
GIB2021 - Dan Probert - BizTalk Migrator Deep Dive
GIB2021 - Dan Probert - BizTalk Migrator Deep DiveGIB2021 - Dan Probert - BizTalk Migrator Deep Dive
GIB2021 - Dan Probert - BizTalk Migrator Deep Diveprobertdaniel
 
SLC ASP.NET Framework and BPM (Eng)
SLC ASP.NET Framework and BPM (Eng)SLC ASP.NET Framework and BPM (Eng)
SLC ASP.NET Framework and BPM (Eng)Selcuk Celik
 
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...Patrick Guimonet
 
Codecoon - A technical Case Study
Codecoon - A technical Case StudyCodecoon - A technical Case Study
Codecoon - A technical Case StudyMichael Lihs
 
Саша Белецкий "Continuous Delivery в продуктовой разработке"
Саша Белецкий "Continuous Delivery в продуктовой разработке"Саша Белецкий "Continuous Delivery в продуктовой разработке"
Саша Белецкий "Continuous Delivery в продуктовой разработке"Agile Base Camp
 
How to Deploy WSO2 Enterprise Integrator in Containers
How to Deploy WSO2 Enterprise Integrator in ContainersHow to Deploy WSO2 Enterprise Integrator in Containers
How to Deploy WSO2 Enterprise Integrator in ContainersWSO2
 
BizTalk 2016: The T-Rex has new specs
BizTalk 2016: The T-Rex has new specsBizTalk 2016: The T-Rex has new specs
BizTalk 2016: The T-Rex has new specsPieter Vandenheede
 
Tech Ed09 Net Best Practices Bijoy New
Tech Ed09 Net Best Practices Bijoy NewTech Ed09 Net Best Practices Bijoy New
Tech Ed09 Net Best Practices Bijoy Newrsnarayanan
 
Bar Camp Microsoft Biz Talk Server
Bar Camp   Microsoft Biz Talk ServerBar Camp   Microsoft Biz Talk Server
Bar Camp Microsoft Biz Talk Servergueste8b670
 
Making ultra fast ultra scalable solutions with sitecore 8
Making ultra fast ultra scalable solutions with sitecore 8Making ultra fast ultra scalable solutions with sitecore 8
Making ultra fast ultra scalable solutions with sitecore 8Mark van Aalst
 
VAST 7.5 and Beyond
VAST 7.5 and BeyondVAST 7.5 and Beyond
VAST 7.5 and BeyondESUG
 
The best of Windows Server 2016 - Thomas Maurer
 The best of Windows Server 2016 - Thomas Maurer The best of Windows Server 2016 - Thomas Maurer
The best of Windows Server 2016 - Thomas MaurerITCamp
 
20131028 BTUG.be - BizTalk Deployment
20131028 BTUG.be - BizTalk Deployment20131028 BTUG.be - BizTalk Deployment
20131028 BTUG.be - BizTalk DeploymentBTUGbe
 

Similar to BizTalk Server Deep Dive Tips & Tricks for Developers and Admins (20)

Vskills certified enterprise applications integration specialist with micros...
Vskills certified enterprise applications integration specialist  with micros...Vskills certified enterprise applications integration specialist  with micros...
Vskills certified enterprise applications integration specialist with micros...
 
Biztalk Server 2010: Introdução
Biztalk Server 2010: IntroduçãoBiztalk Server 2010: Introdução
Biztalk Server 2010: Introdução
 
BizTalk Server Extensibility
BizTalk Server ExtensibilityBizTalk Server Extensibility
BizTalk Server Extensibility
 
Integrate 2020 - Sandro Pereira - BizTalk Server 2020 migration path
Integrate 2020 - Sandro Pereira - BizTalk Server 2020 migration pathIntegrate 2020 - Sandro Pereira - BizTalk Server 2020 migration path
Integrate 2020 - Sandro Pereira - BizTalk Server 2020 migration path
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006
 
Welcome to Blazor
Welcome to BlazorWelcome to Blazor
Welcome to Blazor
 
Sage 100 ERP (MAS90) Web Services Manual
Sage 100 ERP (MAS90) Web Services ManualSage 100 ERP (MAS90) Web Services Manual
Sage 100 ERP (MAS90) Web Services Manual
 
GIB2021 - Dan Probert - BizTalk Migrator Deep Dive
GIB2021 - Dan Probert - BizTalk Migrator Deep DiveGIB2021 - Dan Probert - BizTalk Migrator Deep Dive
GIB2021 - Dan Probert - BizTalk Migrator Deep Dive
 
SLC ASP.NET Framework and BPM (Eng)
SLC ASP.NET Framework and BPM (Eng)SLC ASP.NET Framework and BPM (Eng)
SLC ASP.NET Framework and BPM (Eng)
 
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
 
Codecoon - A technical Case Study
Codecoon - A technical Case StudyCodecoon - A technical Case Study
Codecoon - A technical Case Study
 
Саша Белецкий "Continuous Delivery в продуктовой разработке"
Саша Белецкий "Continuous Delivery в продуктовой разработке"Саша Белецкий "Continuous Delivery в продуктовой разработке"
Саша Белецкий "Continuous Delivery в продуктовой разработке"
 
How to Deploy WSO2 Enterprise Integrator in Containers
How to Deploy WSO2 Enterprise Integrator in ContainersHow to Deploy WSO2 Enterprise Integrator in Containers
How to Deploy WSO2 Enterprise Integrator in Containers
 
BizTalk 2016: The T-Rex has new specs
BizTalk 2016: The T-Rex has new specsBizTalk 2016: The T-Rex has new specs
BizTalk 2016: The T-Rex has new specs
 
Tech Ed09 Net Best Practices Bijoy New
Tech Ed09 Net Best Practices Bijoy NewTech Ed09 Net Best Practices Bijoy New
Tech Ed09 Net Best Practices Bijoy New
 
Bar Camp Microsoft Biz Talk Server
Bar Camp   Microsoft Biz Talk ServerBar Camp   Microsoft Biz Talk Server
Bar Camp Microsoft Biz Talk Server
 
Making ultra fast ultra scalable solutions with sitecore 8
Making ultra fast ultra scalable solutions with sitecore 8Making ultra fast ultra scalable solutions with sitecore 8
Making ultra fast ultra scalable solutions with sitecore 8
 
VAST 7.5 and Beyond
VAST 7.5 and BeyondVAST 7.5 and Beyond
VAST 7.5 and Beyond
 
The best of Windows Server 2016 - Thomas Maurer
 The best of Windows Server 2016 - Thomas Maurer The best of Windows Server 2016 - Thomas Maurer
The best of Windows Server 2016 - Thomas Maurer
 
20131028 BTUG.be - BizTalk Deployment
20131028 BTUG.be - BizTalk Deployment20131028 BTUG.be - BizTalk Deployment
20131028 BTUG.be - BizTalk Deployment
 

More from Sandro Pereira

20201010 - Collabdays 2020 - Sandro Pereira - Power Automates: best practice...
20201010 -  Collabdays 2020 - Sandro Pereira - Power Automates: best practice...20201010 -  Collabdays 2020 - Sandro Pereira - Power Automates: best practice...
20201010 - Collabdays 2020 - Sandro Pereira - Power Automates: best practice...Sandro Pereira
 
ACSUG June 2020 - Azure Logic Apps: Best practices, tips and tricks
ACSUG June 2020 - Azure Logic Apps: Best practices, tips and tricksACSUG June 2020 - Azure Logic Apps: Best practices, tips and tricks
ACSUG June 2020 - Azure Logic Apps: Best practices, tips and tricksSandro Pereira
 
Global Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricks
Global Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricksGlobal Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricks
Global Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricksSandro Pereira
 
2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...
2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...
2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...Sandro Pereira
 
2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...
2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...
2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...Sandro Pereira
 
Integrate 2017 US - Sandro Pereira - BizTalk Server Fast and Loud
Integrate 2017 US - Sandro Pereira - BizTalk Server Fast and LoudIntegrate 2017 US - Sandro Pereira - BizTalk Server Fast and Loud
Integrate 2017 US - Sandro Pereira - BizTalk Server Fast and LoudSandro Pereira
 
Sandro Pereira - BizTalk Server Fast and Loud
Sandro Pereira - BizTalk Server Fast and LoudSandro Pereira - BizTalk Server Fast and Loud
Sandro Pereira - BizTalk Server Fast and LoudSandro Pereira
 
HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...
HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...
HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...Sandro Pereira
 
API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)
API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)
API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)Sandro Pereira
 
Introduction to Microsoft Azure App Service (Logic and API Apps)
Introduction to Microsoft Azure App Service (Logic and API Apps)Introduction to Microsoft Azure App Service (Logic and API Apps)
Introduction to Microsoft Azure App Service (Logic and API Apps)Sandro Pereira
 
SQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk Services
SQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk ServicesSQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk Services
SQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk ServicesSandro Pereira
 
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk ServicesGlobal Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk ServicesSandro Pereira
 
Introduction to the Azure Service Bus EAI & EDI featuresiedi features
Introduction to the Azure Service Bus EAI & EDI featuresiedi featuresIntroduction to the Azure Service Bus EAI & EDI featuresiedi features
Introduction to the Azure Service Bus EAI & EDI featuresiedi featuresSandro Pereira
 
Windows Azure [R]Evolution - Applications Integration with Azure Service Bus ...
Windows Azure [R]Evolution - Applications Integration with Azure Service Bus ...Windows Azure [R]Evolution - Applications Integration with Azure Service Bus ...
Windows Azure [R]Evolution - Applications Integration with Azure Service Bus ...Sandro Pereira
 
Introduction to the azure service bus eai edi features
Introduction to the azure service bus eai edi featuresIntroduction to the azure service bus eai edi features
Introduction to the azure service bus eai edi featuresSandro Pereira
 

More from Sandro Pereira (15)

20201010 - Collabdays 2020 - Sandro Pereira - Power Automates: best practice...
20201010 -  Collabdays 2020 - Sandro Pereira - Power Automates: best practice...20201010 -  Collabdays 2020 - Sandro Pereira - Power Automates: best practice...
20201010 - Collabdays 2020 - Sandro Pereira - Power Automates: best practice...
 
ACSUG June 2020 - Azure Logic Apps: Best practices, tips and tricks
ACSUG June 2020 - Azure Logic Apps: Best practices, tips and tricksACSUG June 2020 - Azure Logic Apps: Best practices, tips and tricks
ACSUG June 2020 - Azure Logic Apps: Best practices, tips and tricks
 
Global Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricks
Global Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricksGlobal Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricks
Global Azure 2020 - Sandro Pereira - Logic apps: Best practices tips and tricks
 
2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...
2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...
2019 06-25 - integrate 2019 US/UK - Sandro Pereira - BizTalk Server Fast and ...
 
2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...
2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...
2018 06-05 - integrate 2018 - Sandro Pereira - BizTalk Server notes from the ...
 
Integrate 2017 US - Sandro Pereira - BizTalk Server Fast and Loud
Integrate 2017 US - Sandro Pereira - BizTalk Server Fast and LoudIntegrate 2017 US - Sandro Pereira - BizTalk Server Fast and Loud
Integrate 2017 US - Sandro Pereira - BizTalk Server Fast and Loud
 
Sandro Pereira - BizTalk Server Fast and Loud
Sandro Pereira - BizTalk Server Fast and LoudSandro Pereira - BizTalk Server Fast and Loud
Sandro Pereira - BizTalk Server Fast and Loud
 
HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...
HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...
HOW CAN POWERAPPS AND MICROSOFT FLOW ALLOWS YOUR POWER USERS TO QUICKLY BUILD...
 
API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)
API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)
API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)
 
Introduction to Microsoft Azure App Service (Logic and API Apps)
Introduction to Microsoft Azure App Service (Logic and API Apps)Introduction to Microsoft Azure App Service (Logic and API Apps)
Introduction to Microsoft Azure App Service (Logic and API Apps)
 
SQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk Services
SQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk ServicesSQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk Services
SQLSaturday #341 porto - Introduction to Microsoft Azure BizTalk Services
 
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk ServicesGlobal Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
Global Windows Azure Bootcamp – Lisboa - Windows Azure Biztalk Services
 
Introduction to the Azure Service Bus EAI & EDI featuresiedi features
Introduction to the Azure Service Bus EAI & EDI featuresiedi featuresIntroduction to the Azure Service Bus EAI & EDI featuresiedi features
Introduction to the Azure Service Bus EAI & EDI featuresiedi features
 
Windows Azure [R]Evolution - Applications Integration with Azure Service Bus ...
Windows Azure [R]Evolution - Applications Integration with Azure Service Bus ...Windows Azure [R]Evolution - Applications Integration with Azure Service Bus ...
Windows Azure [R]Evolution - Applications Integration with Azure Service Bus ...
 
Introduction to the azure service bus eai edi features
Introduction to the azure service bus eai edi featuresIntroduction to the azure service bus eai edi features
Introduction to the azure service bus eai edi features
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 

BizTalk Server Deep Dive Tips & Tricks for Developers and Admins

  • 1. INTEGRATION DAY 2015 Sandro Pereira | DevScope | Microsoft Integration MVP BizTalk Server Deep Dive Tips & Tricks for Developers and Admins
  • 3. http://www.biztalk360.com/biztalk-mapping-patterns/ BizTalk Mapping Patterns and Best Practices Sandro Pereira brought to you by
  • 4.  BizTalk Server tips and tricks for administrators Maintain the health of BizTalk platforms  BizTalk Server tips and tricks for developers Good tools and techniques to produce eficiente solutions and as quickly as possible  Director's cut… If we still have time… 
  • 5. …that always try to difficult the developer’s life style
  • 7.
  • 8. TIP #3 – BizTalk MarkLog tables BAMAlertsApplication BAMArchive BAMPrimaryImport BizTalkDTADb BizTalkMgmtDb BizTalkMsgBoxDb BizTalkRuleEngineDb SSODB Holding all the transaction marks created by the 3th step (MarkAndBackUpLog) of the ‘Backup BizTalk Server’ job No Cleanup process! Tables are always growing Clean up the MarkLog table with Terminator?!?
  • 9. SAP RFC SDK 7.20 UNICODE 64-bit • Copy the content of lib folder to • c:WindowsSystem32 SAP RFC SDK 7.20 UNICODE 32-bit • Copy the content of lib folder to • c:WindowsSysWOW64 Execute the “R3DLLINS.EXE” tool • check if DLL are present in “c:WindowsSystem32” Installed Microsoft Visual C++ 2005 SP1 Redistributable Package – 32-bit and 64-bit WCF-SAP Adapter Yes, it does! The SAP adapter supports both the 32 & 64-bit versions of the SAP RFC SDK, so it can run under 32 or 64- bit Host Instances Unicode version of the RFC SDK is required • Doesn’t matter if your SAP system is Unicode or non- Unicode https://sandroaspbiztalkblog.wordpress.com/2015/03/ 04/biztalk-server-20132013-r2-step-by-step-wcf-sap- adapter-installation-guide
  • 12. …thinking in debatching mode in a unrecoverable interchange mode
  • 13.
  • 14. Or use the standard pipelines a
  • 15.
  • 16.
  • 17. SetScriptBuffer … SetScriptBuffer(ScriptType.CSharp, this.GetCSharpBuffer()); … private string GetCSharpBuffer() { StringBuilder builder = new StringBuilder(); builder.Append("public bool Compare(string strA, string strB, string ignoreCase)n"); builder.Append("{n"); builder.Append("tbool isToIgnoreCase = false;n"); builder.Append("tbool outBooleanResult = bool.TryParse(ignoreCase, out isToIgnoreCase);n"); builder.Append("tif (string.Compare(strA, strB, isToIgnoreCase) == 0)n"); builder.Append("ttreturn true;n"); builder.Append("treturn false;n"); builder.Append("}n"); return builder.ToString(); } SetExternalFunctionName this.Category = FunctoidCategory.String; this.SetMinParams(3); this.SetMaxParams(3); … SetExternalFunctionName(GetType().Assembl y.FullName, GetType().FullName, "Compare"); … public bool Compare(string strA, string strB, bool ignoreCase) { if (string.Compare(strA, strB, ignoreCase) == 0) return true; return false; }
  • 18.
  • 19.
  • 20.
  • 21. What is the correct value for the connection string?
  • 22. Monitor your BizTalk environment using PowerShell – Suspended instance monitoring Monitor your BizTalk environment using PowerShell – Monitoring Windows Updates and Pending Restarts Monitor your BizTalk environment using PowerShell – Disk Space Monitoring Monitor your BizTalk environment using PowerShell – SQL Agent Jobs Monitoring Monitor your BizTalk environment using PowerShell – SQL Agent Jobs Monitoring (Part 2 http://social.technet.microsoft.com/wiki/contents/articles/311 54.biztalk-devops-monitor-your-biztalk-environment-using- powershell.aspx
  • 23. only happen 1 time per day
  • 24. Installation BizTalk Accelerator for RosettaNet is available in the BizTalk Server installation disk (ISO) under: • “BizTalk Accelerators” folder BtarnAPP Web application is referencing .NET Framework 2.0 You need to create a WebService extension for BTSHTTPReceive.dll, configuring the IIS isolation mode. BTARN does not support the use of alias created for SQL instance to configure the BTARN database Requires IIS_WPG group Host Instances The accelerator requires both in-process and isolated host to be marked as "Authentication Trusted" and "32-bit only“ The BizTalk Host Instance Account and the BizTalk Isolated Host Instance Account should be the same Do never use Full Qualify domain name in the Logon credentials Make sure the BTARN in- process host is the default send handler of HTTP Adapter BAM BTARN supports enhanced tracking using BizTalk Activity Monitoring (BAM). • Right-click the BizTalk Accelerator for RosettaNet node and then click Properties. • In the Global Properties dialog box, select Enable BAM Tracking to enable tracking, or clear this option to disable it. Microsoft provide a Tracking file with the activity definitions however: • The tracking points are not customizable; do not change activity definitions. • You can Manage BAM views and deployment. Databases Maintenance Remember TIP #1 • BTARN database are not backuped by default There are no maintenance processes to clean up this database • BTARN databases can grow quickly because they contain the PIP XML that you are processing • They can effect the performance of your environment • There are important You need to create this maintenance processes according to the legal requirements of the company

Editor's Notes

  1. Good morning…. Nice to see some familiar faces again and plenty of new ones… It is a pleasure to be here for the third consecutive year and see that this event is bigger and better every year I will not take too much time presenting myself, the time is short I will only have 30 minutes so I will try to go quickly, I think most of you already know me, if not you will have access soon to this slides. My name is Sandro Pereira and I’m working as a BizTalk Consultant at DevScope in Portugal an amazing company and I’m a Microsoft Integration MVP since 2011
  2. Last year I told, here, that I was writing a book about Mapping Patterns… It is a pleasure to say that the book is already available for free… almost 400 pages about mapping So I hope if you haven’t done yet, go there download it and hope you enjoy
  3. In this session I’m going to speak about some useful and important BizTalk Tips and Tricks for developers and Administrator based on my experience gain during this years… By the way Do you know what I mean about Administrator Tips?...
  4. It is for these type of person… and I will start with this tip…
  5. I love this tip… you all remember my dear friend Tord Glad Nordahl complaining every year in his session about Developers writing unnecessary information Application Log… and for they do not use the Event Viewer… well I partially agree with him… you shouldn’t write custom application errors, warnings of information in the Application Log… but you can use a custom log for that I really don’t care about that since you do not use the Application Log to write these stuff What the Admin does normally? Ask the developer to change is code, that already is deployed in all the environments, to not write in the application log And they will try to find a thousand excuses for explaining why such information is important My advice: Let the developer by happy by writing in the Event Viewer But take back the control of your environment by easily creating or using PowerShell
  6. Have you had the time to think about what is some features like RosettaNet, ESB or UDDI have in common? Well, all of them have custom databases and all of them are optional features The important question here, because they have custom databases, is: Do you think that these databases are being backuped? And the data inside are saved? And the response is NO… by default the BizTalk jobs don’t perform any operations in this databases. Fortunately for us, Microsoft provides two SQL Scripts that you need to run against this databases in other to extend the standard backup mechanisms but you also need to modify the adm_OtherBackupDatabases table to include a row for each of your custom databases.
  7. All the BizTalk database which is being backed up by the 'Backup BizTalk Server' job, so all databases with the exception of the BAM Star Schema database (BAMStarSchema), has one table called “MarkLog”. By default each 15 minutes, a string is stored on that table, created by the 3th step (MarkAndBackUpLog) of the ‘Backup BizTalk Server’ job. This tables are holding all the transaction marks And there isn’t any job that cleans these tables so this tables are always growing unnecessarily… the solution provide by Microsoft is using Terminator Tool… which means stop your environment for what… to purge all the data from these tables Luckily for us…. You don’t need to do that… I decide to create a stored procedure to extend the delete history capabilities of BizTalk to include this tables according to some best practices Credits also to Tord Glad Nordahl, Rui Romano, Pedro Sousa and Mikael Sand that helped me to create and improve this script I really think that Microsoft should take this script, review it and include in the next version or as a hotfix
  8. There is a lot of inconsistent and incorrect information about the BizTalk SAP Adapter Is normal to see comments that the adapter only runs on 32-bit, See indications that we have to copy DLLs to two different places (System32 and SysWOW64) but which ones and what does this means? Does WCF-SAP Adapter supports 64 bits or not? Yes, it does! The SAP adapter supports both the 32 & 64-bit versions of the SAP RFC SDK, so it can run under 32 or 64-bit Host Instances Important things that you need to know is: Doesn’t matter if your SAP system is Unicode or non-Unicode - You always need to use the Unicode version of the RFC SDK (this is a requirement) Download the correct resources from SAP Market place specially the 32-bit and 64-bit SDK resources SAPCAR – SAPCAR is a compress utility (similar to WinZip, tar and so on), that is used by SAP to compress and decompress nearly all delivered files
  9. Normally Developers have in their environments Full tracking Enable because it's easier to debug and see what is happening with your new applications Does Developer’s remember to disable it before they create the resources to put in production? No! And actually… they don’t care about that -- is not there task to do it And sometimes they don't know the right configurations that should be apply into production This can be an annoying and time consuming operation and asking developers to change their My advice is… take back the control of your environment These tasks can be easily automated and configured by easily creating or using PowerShell To Disabling all Tracking or enable just the important ones at the application level or addressing all of them You lose 1 day developing these scripts and then you do not need to worry any more Ok enough of admin tips… And now Do you know what I mean about Developer Tips?...
  10. It is for these type of person… thinking in debatching mode and in unrecoverable interchange mode too
  11. What developers normally do? Create an Envelope Schema Create a Schema Create a Custom pipeline that is usually a replica of XMLReceive pipeline The important question here is: Do I really need to do all of this? Is there any other way? Normally you don’t need to create a custom pipeline to accomplish this. The standard XMLReceive pipeline will perform this task is for you: You just need to define the envelope and the Body XPath property And you already did that! So you don’t need to developer additional artifacts Important considerations When Debatching messages, Recoverable Interchange Processing is an important feature it will allow you to process completely even if one or more messages in the interchange fail at the following stages/phases: Disassembly stage of a receive pipeline XML validation stage of a receive pipeline Map execution phase of a receive port We will see this in more details in the upcoming demos
  12. Same topic: Pipelines - Validate XML Messages or converting Flat Files  What developers normally do? Create a Custom pipeline with the “XML Disassembler” component or the “XML validator” component And for Flat Files we create a custom pipeline with a “Flat file disassembler” component I had a project with almost 100 flat file schemas so imagine how many pipelines were created in that project Again: Do I really need to do all of this? Is there any other way? Again… you don’t need to create again and again in every project a custom pipeline to accomplish this. You can Create a generic custom pipeline like the “XMLReceive” or a generic “FlatFileReceive”… yes you can create a generic “FlatFileReceive” pipeline using a special trick that we will see in the demos and reuse it whenever you need Or use the standard pipelines and you just need to change the settings at runtime
  13. Request-Response Content Based Routing with LOB operations is that possible? Yes of course.., it’s easier to create orchestration to accomplish this but You don’t need orchestrations to perform a simple insert, delete, update or select using WCF-SQL or send an IDoc for SAP You don’t need orchestrations for request/response scenarios! Whenever it’s possible avoid using orchestrations The main problem is that using Lob Adapters is that you need to specify an Operation name for a specific action, for example Operation Name=Insert for the action TableOp Insert Delete for the action TableOp Delete And so on That need to be promoted in runtime What you can do/use? Create a generic custom pipeline and pipeline component to promote the BTS.Operation property
  14. It is possible to extend the framework by writing your own: MetaInstruction and Instruction classes in assemblies which should be deployed to the GAC Creating vocabulary definitions that correspond to public methods on your MetaInstructions, and then using the AddMetaInstruction vocabulary definition in the BREPipelineFramework vocabulary in InstructionLoaderPolicy BRE Policies which will allow you to use the your custom vocabularies in the ExecutionPolicy.
  15. Normally when we create a custom functoid they need to be copy to the “Developer Tools\Mapper Extensions” folder under the BizTalk installation path and install in the Global assembly cache (GAC) However this is not entirely true When developer a custom functoid you need to be aware that we have two types of Functoids Normally we use the SetExternalFunctionName expression to define the action of this functoid In this case we are basically saying that we will use an external assembly to perform this action and in this case this assembly needs to be installed in the GAC in all the environments that you will use this functoid However we have available another expression to define the action of the functoid… by using the SetScriptBuffer expression. What’s the difference between both? Well do you know what’s happen when you use an out-of-the-box string Functoid in your map? The C# code will be embedded in the XSLT code that will be deployed… and in this case you don’t need to deploy any assembly to your environment This is basically what happens when you use the SetScriptBuffer expression, this type of functoid will tell the BizTalk Map to embed the function in the XSLT code… The assembly of this Functoid will only need to be copy to “Developer Tools\Mapper Extensions” folder in your developing environment and you don’t need to install nothing in production
  16. Let’s start with an easy and simple tip: Database Lookup Functoid I always find hard to remember the correct value for the connection string to be used inside this functoid The Easiest way to make sure we are using the correct connection string value and for not having to remember this by head is to create a simple Universal Data Link (.udl) File… set OLE DB provider connection parameters and test the connection to check if everything is correct After data Open the file in notepad and you will find the connection string value that you can copy and use in the functoid Important considerations: You shouldn’t Hard-coding this value directly in the functoid otherwise it will be a nightmare when you deploy this to a different environment. You can and you should store this parameter in a different storage location (SSO, Registry or others) and get this value using a scripting Functoid or custom functoid which can then be linked to the Database Lookup Functoid
  17. Understanding RosettaNet can be a challenger believe me so in this tip I will provide some important topics that you need to be aware about it: BTARN require: Microsoft .NET Framework 4.5 If you have multiple versions of .NET Framework installed on your computer, make sure that the BtarnAPP Web application is referencing .NET Framework 2.0. You can configure this by using the Internet Information Services (IIS) Manager. DESPITE the BtarnAPP Web application working properly in .NET 4.0 You need to create a WebService extension for BTSHTTPReceive.dll, configuring the IIS isolation mode. The BizTalk Host Instance Account and the BizTalk Isolated Host Instance Account should be the same. Otherwise, BTARN will not function correctly. If the service account set for the BTARN application pools is different from the Isolated Host account, BTARN will not be able to process incoming messages correctly. When the receive .aspx page calls the pipeline, the pipeline will not have access to the appropriate certificates. Therefore, it will not be able to decrypt the incoming message or validate the signature. It will also not be able to access the MessageBox database. BTARN does not support the use of alias created for SQL instance to configure the BTARN database. RosettaNet requires the IIS_WPG group (group provided by IIS 6.0 that provides the minimum set of user rights and permissions required to run an application) unfortunately for us this group doesn’t exist anymore… so you need to create it manually   Very important: The accelerator requires both in-process and isolated host to be marked as "Authentication Trusted" and "32-bit only“. And the reason why in-process need to be also trusted is that the BizTalk Host Instance Account and the BizTalk Isolated Host Instance Account should be the same and you cannot use the same account for trusted and untrusted… otherwise it was only necessary to mark the isolated host as trusted. Important: Make sure the BTARN in-process host is the default send handler of HTTP Adapter, when you create a Partner it will create to send ports and it will use the default send handler, if the BTARN in-process host you need to stop the BTARN process unbinding the send ports fix the send handler and start everything again… so it induce a small shutting down BTARN supports enhanced tracking using BizTalk Activity Monitoring (BAM). Microsoft provide a Tracking file with the activity definitions however: you need to you BAM views There are no maintenance processes to clean up this database