Install BizTalk Server 2016 on a single machine
This post is about how to set up a lab environment for BizTalk Server 2016 locally on your PC. BizTalk is an integration platform from Microsoft.
Index
- Background
- Briefly about BizTalk
- Prerequisites
- BizTalk Server 2016 Requirements
- Install Windows Server 2016
- Install Visual Studio 2015
- Install Visual C++ redistributable package
- Install SQL Server 2016
- SQL Server 2016 Configurations
- Install SQL Server Management Studio
- Install .NET 3.5 & .NET Framework 3.5
- Install SQL XML 4
- Account configurations – Add Windows Account to Administrator Group
- Enable IIS
- Event Log Configuration
- Install BizTalk Server 2016
- BizTalk Server Configuration
- Install Microsoft BizTalk Adapters
- Install BizTalk ESB Toolkit (Optional)
- Finishing of
- Summary
- References
Background
Recently I have been working with BizTalk Server for the first time.
When I encounter something new that I want to learn in a short period, I’d like to learn by doing. That approach naturally leads to that I will mess things up and break things. Great way of learning – but not a great approach in an environment shared by other colleagues.
BizTalk is a complex system. It is not that kind of software that you download an .exe-file, executes and just click next-next-finish. And it is a server installation. I decided to write a blogpost about how to set up BizTalk locally on your PC, so you can start blowing things up without causing problems with your colleagues.
Back to Index.
Briefly about BizTalk
BizTalk is an integration platform from Microsoft. The idea is to provide a comprehensive platform full of adapters to common system and technologies. BizTalk contains all the building blocks you need to create a modern integration platform for your enterprise. (Although, it is getting more and more commonly to build integrations in Microsoft’s cloud service – Azure). BizTalk has been around for many years, it is more of a classic ‘on premise’ software that you install in your datacenter.
Back to Index.
Prerequisites
BizTalk Server 2016 is a server installation software. That means that you need a Windows Server OS to make it run properly. To fix that you need to virtualize a machine with that OS.
- Here is a blogpost that explains how to set up a Hypervisor (Hyper-V) that can virtualize a Windows 2016 Server (You need Windows 10 Pro on your PC to enable Hyper-V): https://www.raspberryfield.life/2019/03/03/a-brief-look-at-virtualization-and-virtual-machines-windows-10-pro/ [2019-03-22]
- Here is a post that explains (with images) how to install Windows Server 2016 on a virtual machine: https://www.raspberryfield.life/2019/03/11/install-windows-server-2016-hyper-v/ [2019-03-22]
Back to Index.
BizTalk Server 2016 Requirements
This is a summary of the requirements to develop in and setup BizTalk Server 2016. How to install these requirements are described in their own sections. Table present suggested order of installation.
Name of Software/Config | Purpose | Download |
---|---|---|
Windows Server 2016 OS | OS compatible with BizTalk 2016. | https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2016?filetype=ISO [2019-03-22] |
Visual Studio Professional 2015 (with Update 3) | IDE for developing BizTalk 2016 applications. | https://visualstudio.microsoft.com/vs/older-downloads/ [2019-03-22] |
Visual C++ redistributable package 2013 | Library for Visual Studio to handle code written in Visual C++ | https://support.microsoft.com/en-us/help/3179560/update-for-visual-c-2013-and-visual-c-redistributable-package [2019-03-23] |
SQL Server 2016 | SQL Server for BizTalk’s databases. | https://www.microsoft.com/en-us/evalcenter/evaluate-sql-server-2016 [2019-03-22] |
SQL Server 2016 Configurations | Ensure performance in BizTalk Server | n/a |
SQL Server Management Studio | IDE for SQL Server | Start download from SQL Server Installation Center |
.NET 3.5 & .NET Framework 3.5 | Library for developing and running applications on Windows. | Add the feature from Turn Windows Features on or Off. |
SQL XML 4 (SP1) | Requirement for BizTalk Server runtime. | https://www.microsoft.com/en-us/download/details.aspx?id=30403 [2019-03-22] |
Account configurations | Account must be member in local Administrators group. | n/a |
Enable IIS | Needed for web communications in BizTalk | Add the feature from Turn Windows Features on or off. |
Event Log Configuration | Prevent the event log to corrupt BizTalk Server installation. | n/a |
BizTalk Server 2016 | Includes BizTalk Server, BizTalk Adapters and ESB Toolkit | https://www.microsoft.com/en-us/evalcenter/evaluate-biztalk-server-2016 [2019-03-23] |
Back to Index.
Install Windows Server 2016
Follow the installation guide suggested under prerequisites.
VM with Windows Server 2016 trail, available for 180 days.
This is my setup in Hyper-V:
The VM is connected to the default switch so I have internet connection by default via my PC.
Tip! Create a checkpoint in Hyper-V after each installation in this guide.
Back to Index.
Install Visual Studio 2015
How to download Visual Studio 2015 Professional with Update 3.
- Browse to: https://visualstudio.microsoft.com/vs/older-downloads/
- Click on the year 2015.
- Click on the button Download.
- Sign in with you Microsoft account (don’t have one? It’s free to create).
- Now, browse to Visual Studio Professional 2015 with Update 3:
- Download the .exe file.
Once you have the file, save it on your server (VM) e.g.: C:\Installed Softwares\VS2015
How to install Visual Studio 2015
- Execute the file as Administrator and installation will begin.
- Chose Default and Install:
- This will take a while. (Note! Internet connection required):
- Launch (It will take a while to actually launch):
- When prompted to sign in (don’t need to do it now) chose Not now, maybe later.
- Choose your theme preferences and start Visual Studio (This will take a while to):
Congratulations! You have now installed Visual Studio 2015 compatible with BizTalk 2016.
Info. The SDK for developing BizTalk projects will come with the BizTalk installation itself. Now, You can’t start a BizTalk Project in Visual Studio.
Back to Index.
Install Visual C++ redistributable package
Note! The 2013 version of Visual C++ redistributable package is required, even though Visual Studio 2015 is being used.
Download at https://support.microsoft.com/en-us/help/3179560/update-for-visual-c-2013-and-visual-c-redistributable-package [2019-03-23] :
Click on the link above and a download of the file vcredist_x64.exe will start.
Install the software (as Administrator) and restart the computer:
Back to Index.
Install SQL Server 2016 (with Service Pack 2)
How to download SQL Server 2016 (evaluation):
- Download files at: https://www.microsoft.com/en-us/evalcenter/evaluate-sql-server-2016 [2019-03-22] Once you have the file, save it on your server (VM) e.g.: C:\Installed Softwares\SQL2016
- Execute the file as Administrator. A download wizard will start: Choose Custom: Choose download location (yes, it says install but it is actually a download): Download of all files and .exe will start (download and extract will take a while):
How to install SQL Server 2016 SP2:
Go to the download location and browse to: C:\SQLServer2016Media\Evaluation_ENU execute the SETUP.EXE file as Administrator and choose New SQL Server stand-alone installation or add features to an existing installation:
SQL Server 2016 Setup will start:
Table show settings in the different sections:
Step | Selection |
---|---|
Product Key | Evaluation |
License Terms | I accept… |
Global Rules | [Make sure the test passes.] |
Microsoft Update | Don’t use the Microsoft Update check. With this option, setup will skip some steps. |
Product Updates | n/a |
Installation Setup Files | n/a |
Installation Rules | [Make sure the test passes.] |
Feature Selection | See https://docs.microsoft.com/en-us/biztalk/install-and-config-guides/set-up-and-install-prerequisites-for-biztalk-server-2016 [2019-03-22] and Image below in this section. |
Instance Configuration | MSSQLSERVER (default) |
Server Configuration | Default settings |
Database Engine Configuration | Mixed Mode with sa account and add current user (Administrator). |
Analysis Service Configuration/td> | Default settings and add current user |
Reporting Services Configuration | Default settings |
Consent to install Microsoft R | Accept |
Feature Configuration Rules | Test must pass |
Ready to install | Install |
Info. Feature Selection:
- Database Engine Services
- SQL Server Replication
- R Service (In-Database)
- Full-Text and Semantic Extractions for Search
- Analysis Service
- Reporting Services – Native
- Client Tools Connectivity
- Integration Services
The installation will take some time.
When the Install has completed:
You must restart the computer after the installation completed.
Here is a simple test from the command prompt if the SQL Server is up and running:
Back to Index.
SQL Server 2016 Configurations
Disable Shared memory
When installing SQL Server and BizTalk Server on the same machine, it impacts the performance on BizTalk server negative. With a simple configuration we can avoid this unwanted behavior.
Go into the computer management (right click Start). Click your way to the dialog showed on the image and set Shared Memory Properties – Enable to NO:
Now, as described in the prompt, restart (stop and start) the service:
Read more about it here: https://docs.microsoft.com/en-us/biztalk/install-and-config-guides/set-up-and-install-prerequisites-for-biztalk-server-2016#disable-shared-memory [2019-03-22]
Back to Index.
Install SQL Server Management Studio
This tool is not a requirement for BizTalk Server. However, it is the most common IDE for MS SQL and it will be handy to have it on the same machine while learning BizTalk.
Install it from SQL Server Installation Center:
Link will take you to download page:
The installation is pretty straight forward. Run the .exe file as Administrator.
Restart the computer.
Open Microsoft SQL Server Management studio 17 (SSMS).
Connect to the SQL Server installed on your computer:
Now you will be connected to the local SQL server and you can manage it from SSMS.
Back to Index.
Install .NET 3.5 & .NET Framework 3.5
Add the features in Turn Windows Features on or off:
Info. If prompted to add a path, it is: D:\sources\sxs.
Back to Index.
Install SQL XML 4
Note! SQL XML 4 can’t be installed without .NET 2.0 (Which is included in .NET 3.5)
Download SQL XML 4.0 SP1 at:
https://www.microsoft.com/en-us/download/details.aspx?id=30403 [2019-03-22]
Choose sqlxml_x64.msi and download it.
Screenshot from the installation:
Back to Index.
Account configurations – Add Windows Account to Administrator Group
The account you use for installing BizTalk Server must be a member of the local Administrators group
Join Admin group: Start-> Computer Management-> Local Users and Groups-> Groups-> Administrators-> Make sure your account is in this group:
Back to Index.
Enable IIS
From Windows Features.
Add the Web Server (IIS) Role:
Enable all IIS options:
And finally install the new roles / features.
Back to Index.
Event Log Configuration
Sometimes the Event Log can grow too big. If that happens during BizTalk Server installation, it wont properly be installed. To prevent this unwanted behavior, do the following:
Start-> Event Viewer-> Windows Log-> right click; Application-> Properties-> Overwrite events as needed.
Back to Index.
Install BizTalk Server 2016
Download BizTalk 2016 Evaluation ISO:
Once you have the file, right click and mount it:
Run the .exe file in BizTalk Server folder as Administrator:
Chose Install Microsoft BizTalk Server 2016:
User name:
Accept the license terms:
Next, chose if you want to participate in the evaluation program:
If you want to install all features of BizTalk Server, you must choose them under Additional Software (I aim for a full install):
Safest is to choose Automatically install the redistributable prerequisites from the web:
Finally, Install:
Wait for the installation:
Chose Windows update or not:
Finish the installation:
Launch the BizTalk Server Configuration.
Back to Index.
BizTalk Server Configuration
Chose Custom Configuration and chose an account from the local Administrators Group. My account is named Administrator:
We need to start some configurations, we have to walk through all the sections in the left pane:
Enterprise SSO:
Choose Create a new SSO system.
In the left pane, click on Enterprise SSO Secret… Choose a password with at least 7 characters.
Group:
Uncheck 32-bit only if you are running a 64 bit server.
BizTalk Runtime:
Business Rules Engine:
BAM Tools:
Enable BAM alerts:
I won’t be using BAM alerts (That includes configuration for a mail server etc.):
BAM Portal:
BizTalk EDI/AS2 Runtime:
Now, go back to overview and click Apply Configuration:
An installation wizard will open, click next:
This step will take a while:
You want everything to be successful:
Now you can go back to the overview page and see the status:
Back to Index.
Install Microsoft BizTalk Adapters
Mount the disk again and go to the setup.exe file again.
This time run the installation for Install Microsoft BizTalk Adapters:
Chose custom install for the adapter:
Settings for installation:
Install:
Repeat the step above for the next two adapters. They are all fairly equal in installation steps.
The last adapter will be slightly different to install:
Chose custom:
Custom Install:
This is your goal with the BizTalk Adapter Installation:
Back to Index.
Install BizTalk ESB Toolkit (Optional)
For a complete install from the ISO, also choose to install ESB toolkit:
Next step:
Finish install:
Back to Index.
Finishing of
After you have installed BizTalk Server, a SDK for developing BizTalk Applications has been added. You can now start developing BizTalk Project from Visual Studio 2015:
BizTalk Server Administration Console is the application where you will administrate all your BizTalk applications:
Make sure that the SQL Server Agent is running (right click start.):
Back to Index.
Summary
Honestly, this is a mess. To get BizTalk up and running and all the steps you have to walk through… I just wish you good luck with BizTalk.
BizTalk – a very consultant friendly system.
Back to Index.
References
Microsoft’s official BizTalk Documentation, https://docs.microsoft.com/en-us/biztalk/install-and-config-guides/set-up-and-install-prerequisites-for-biztalk-server-2016 [2019-03-22]
Back to Index.
One Response to “Install BizTalk Server 2016 on a single machine”
Simon
Grym guide!
Exakt alla detaljer finns med för att få detta att fungera, tack!