25 Apr

BizTalk, WIF, WF Tutorial – Part 1.4 Installing BizTalk Server 2010

After installing all of the prerequisites for BizTalk Server 2010, having downloaded BizTalk Server 2010 Evaluation version, we can finally start our BizTalk experience. In order to install the mentioned tool we unpack installation files double clicking the downloaded file.

BizTalk, WIF, WF Tutorial - Part 1.4 - BizTalk archive

We start our journey from unpacking installation files where it’s the most convenient for us.

BizTalk, WIF, WF Tutorial - Part 1.4 - Unpacking

Once unzipped, we need to find the proper setup file in the destination folder (c:\tmp\BizTalk\BT Server).

BizTalk, WIF, WF Tutorial - Part 1.4 - BizTalk Setup file

On the start screen we choose to skip reading installation guide and go straight to the Install BizTalk Server 2010.

BizTalk, WIF, WF Tutorial - Part 1.4 - Installation start page

On the next screen we agree for the already provided serial number and confirm other values clicking Next.

BizTalk, WIF, WF Tutorial - Part 1.4 - Product key

Having no other choice, we resort to accepting the terms of license agreement.

BizTalk, WIF, WF Tutorial - Part 1.4 - License agreement

We don’t actually have to participate in the Customer Experience Program, but why not?

BizTalk, WIF, WF Tutorial - Part 1.4 - Customer experience program

The next step is the one we’ve been waiting for, patiently clicking Nexts. But we don’t need to add any of the features which are not already selected. In Additional software group is for example SahrePoint Adapter, but it’s only available for install when we already have SharePoint Server on our computer. The most important thing: we can easily add features even after the installation. That’s why don’t bother to select anything else but default and decide to click Next.

BizTalk, WIF, WF Tutorial - Part 1.4 - Installed compontents

In the next window we simply decide to do nothing and let the installer do the work for us. We choose, actually leave unchanged, Automatically install the redistributable prerequisites from the web and click Next.

BizTalk, WIF, WF Tutorial - Part 1.4 - Downloading components

We accept the list of prerequisites that will be downloaded for us and click Install.

BizTalk, WIF, WF Tutorial - Part 1.4 - Summary

If we’re lucky enough, everything goes fine and we see the following screen.

BizTalk, WIF, WF Tutorial - Part 1.4 - Windows Firewall settings

We decide to allow Windows Update to check for updates for BizTalk Server and click Next.

BizTalk, WIF, WF Tutorial - Part 1.4 - Installation complete

Can you believe it? We did it. We have successfully installed BizTalk Server 2010. We leave Launch BizTalk Server Configuration selected and click Finish.

What’s yet left for us is configuration. In the window shown below, there are values which have been set by default, but they do not meet our expectations.

BizTalk, WIF, WF Tutorial - Part 1.4 - BizTalk Configuration

We need to start, as we have already done before, from creating a new user account dedicated for BizTalk. How it’s done, you can read in Part 1.2 where a new user account for SQL Server 2008 R2 Instance was created.

We have to provide the Database server name corresponding to the SQL Server instance name, which we chose during SQL Server installation, that is: MSSQLSERVER. And apart from the database configuration, newly created user account data. Let’s name our user BizTalk. Funny thing about our SQL Server instance is that after clicking Configure we become Connection error. It turns out that the default setting, corresponding computer name (solemnly regret not having changed that!) was correct. So we bring back WIN-3D4NQKQQUI2 and click Configure once again.

BizTalk, WIF, WF Tutorial - Part 1.4 - Configured

This time success. Now we can review what components the installer is planning to install. For each component, or for the most of them, there’s going to be created a separate database. We simply click Next to proceed.

BizTalk, WIF, WF Tutorial - Part 1.4 - Configuration Wizard - summary

Installation starts and shows which components are already installed and which are pending.

BizTalk, WIF, WF Tutorial - Part 1.4 - Configuration progress

It requires a little patience, but the result is a great reward. We have successfully configured BizTalk instance, which is shown below.

BizTalk, WIF, WF Tutorial - Part 1.4 - Configuration wizard summary

We click Finish and that’s all. We can now start BizTalk Server Administration Console, but to see that, wait and see the next part of this tutorial. If any Windows Update info message appears, accept it and install all the required updates (I am going to do the same throughout the whole tutorial).

24 Apr

BizTalk, WIF, WF Tutorial – Part 1.3 Installing SQL Server 2008 R2

In order to install BizTalk Server 2010 at all, we need some kind of SQL Database. I haven’t personally tried any other than SQL Server 2008 R2 in its Full Enterprise edition (thanks to MSDN). Now we’re not going to make any exception to the rule: the more expensive the better and once again we’re going to use SQL Server Enterprise. Of course it’s free and available for download fully functional trial version. Totally enough for our tutorial and BizTalk party.

We download the file from Microsoft and proceed with the installation. Not actually interesting it’s worth to synchronize all the settings so that we can be sure, that everything works as expected.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Extracting files

We extract temporary installation files where convenient. We have to be patient as the whole process can be a little time-consuming. Kaffeepause!

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Extracting finished

Once it’s finally over, we look for the most convincing file, to start the installation. The one shown below should to the trick.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Setup file

Again that some time your time…

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Installation - Waiting

We’re installing our BizTalk environment from the scratch, so there isn’t any other instance of SQL Server 2008 R2. There can, and after installing Visual Studio 2010 Ultimate, definitely is already installed an instance of SQL Server Express 2008. But that should not be a problem now.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Installation - Start page

We simply chose Installation from the menu on the left and then New installation or add features to an existing installation.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Starting installation

Surprisingly… we are asked to wait again. If we’re lucky enough we see in a few seconds a window shown below.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - First passed test

The curious reader can of course take a look at details using Show details, but our philosophy for most of the installations that are yet to come is: achieve as much as possible, doing as least as possible. So.. we click OK.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Version

In the next step we’re asked to chose our license type. We simply chose Evaluation (already selected) and click OK.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Terms

We accept, what we’ve just read (yeah, right!). Those willing to share their usage info with Microsoft, select apart from I accept license terms also the option Send feature usage to Microsoft. And what? Next.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Setup support files

Nothing left to click but Install. And as we’re kindly asked to restart our computer, having actually no other choice, we click OK.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Restart pending

To my surprise, after clicking OK no restart happened. The installation process went forward showing another summary.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Setup suport rules

We can simply ignore Windows Firewall warning as we’re not planning to access our SQL Server from the outside world. Then we click Next.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Setup role

Options in the next dialog we leave unchanged, deciding to Install SQL Server Database Engine Services and all the goods that come in the bundle. We confirm again by clicking Next.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Installation options

When in the next dialog we chose anything other than Select All we are really likely to be back here again as our SQL Server will be missing any of these magical functions. What’s even more interesting: error messages when any of the features are missing aren’t necessarily always straightforward and that we should install that and that. In most cases we are left with an ErrorCode to google for. So we choose all and confirm clicking Next.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Installation rules - summary

Another test passed, so Next.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Instance configuration

Those planning to name the database instance after a cat or a dog should feel free to do so. But what I really recommend is to select Default instance and confirm clicking Next.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Disk space requirements

Having no other choice we confirm disk space requirements and proceed forward using Next.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Server configuration

In the next step we are asked to bind user accounts with each of the services that will be installed. The easiest and preferred way is to create a new account named for example SQLSERVER. Let’s do this.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Adding a new user

We choose one of the simplest passwords, that meet the default system requirements: P@ssw0rd. This is not advised to do so in a production environment, but for our test configuration that definitely enough. We chose to disable password change and allow the password to last forever. We go back to the installation and fill fields so that they match the configuration shown below.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Accounts configuration

In the next step we make further security decisions.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Authentication

This time we chose to use Mixed authentication mode providing our standard, super secure password P@ssw0rd. We also chose to Add current user to the group of SQL Server administrators. After that, simply Next.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Analysis services configuration

We chose to promote our current user to the Analysis Services administrator too.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Reporting services configuration

We’re not planning to user SharePoint, although me and my friend Kacper Oko have already succeeded to integrate BizTalk, SharePoint and Workflow Foundation together. We get there with our tutorial some day. I promise. For now the option selected by default is enough and we go forward clicking Next.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Error reporting

 

This time let’s make Microsoft aware of the bugs we’re going to encounter.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Ready to install

Let’s make it happen… Install. And we have a lot of time to make ourselves a cup of tea or coffee.

BizTalk, WIF, WF Tutorial - SQL Server 2008 R2 - Installed

We did it. OK & Close. Let’s make a restart and after that we will install BizTalk Server 2010. All that and even more in Part1.4. That’s all folks!

24 Apr

BizTalk, WIF, WF Tutorial – Part 1.2 Setting up the environment – IDE

Although there’s much more than only one, there’s the one that fulfills all the needs and does not require any plumbing due to missing functions… Visual Studio Ultimate 2010. I admit, MSDN I was using when I was a student, was an amazing thing, allowing all the top-class MS software. Mainly because of that I am used to the best and hopefully Microsoft allowed us to fell that luxury for some evaluation time too. As the next step in our environment setup we download the evaluation version of Visual Studio 2010 Ultimate. Installation process is simple enough to simply skip all the screenshots & Next/Nexts. The only thing worth mentioning: install all the available features. There’s no need to come back and fix any mysterious and hard to find errors later.

Once we finished installing IDE, we can move forward and install the database server. See Part 1.3 for more details.

24 Apr

BizTalk, WIF, WF Tutorial – Part 1.1 Setting up the environment – operating system.

There’s a variety of systems to chose from when we analysis BizTalk Server 2010 Server requirements. There’s even Windows 7 to choose from. The problem is, when we want to have the environment the closest to the production one, we should use any of the available Windows Servers. I decided to choose the one I am already familiar with, that is Windows Server 2008 R2. It’s available free of charge on Microsoft Websites as 180 days evaluation version. Enough to suit our needs.

I am definitely not going to describe how to install an operating system. That should the intelligent reader do on their own. I strongly recommend giving VDISKs a try. That’s a relatively new feature allowing to create Virtual Hard Drives, completely reusable, for example in Hyper-V. In my case, I had to resort to installing completely independent operating system not using any of the virtualisation tools, because my Intel Core Duo 2 is not yet prone to 64bit virtualisation capabilities. But still, VDSIK came in handy , not forcing any physical disk partitioning.

Once we have our fresh servers installed, we proceed to install:

  • Web Server Role (complete)
  • Features that can make our life easier, e.g. Windows Desktop Experience, Wireless Lan  Service.

For now that’s all we need to have. We continue our journey in Part 1.2.

24 Apr

BizTalk 2010 & Windows Identity Foundation (AD FS 2.0 & StarterSTS) & Worflow Foundation & more and more

On my old blog, before I have lost all the date from the former server, I promised myself an all the readers, who devoted their time to follow my notes, that the time would come, when I write everything I know about putting Federated Security between BizTalk, Workflow Foundation using the AD FS 2.0, StarterSTS to work in SOA architecture. Me and my friend Kacper Oko have already succeeded to do so in our master thesis. Now it’s the time to give back what we’ve taken from the thousands blog post, forum posts which helped us in achieving our goal. I’ll try to describe step by step and from the scratch how to start playing with BizTalk and all other mentioned technolgoies. Already in? See Part 1.