BizTalk 2010: Notification Services

It is best practice in my opinion when installing BizTalk to follow BizTalk installation manuals. Microsoft provides manuals for each supported operating system or multi-server installation. BizTalk 2010 is supported on:

▪ Windows Server 2008 R2
▪ Windows Server 2008 with Service Pack 2
▪ Windows 7
▪ Windows Vista with Service Pack 2
▪ Windows XP with Service Pack 3

Other requirements are:

▪ Microsoft Internet Information Services (IIS) 7.0 or 7.5
▪ Microsoft Office Excel 2010 or 2007
▪ Microsoft .NET Framework 4 and .NET Framework 3.5 SP1
▪ Microsoft Visual Studio 2010 with Visual C# .NET. Required for BizTalk Server applications development and debugging; not required for production-only systems
▪ SQL Server 2008 R2 or SQL Server 2008 SP1
▪ SQL Server 2005 Notification Services with Service Pack 2
▪ The Windows SharePoint Services adapter Web service requires SharePoint Server 2010, SharePoint Foundation 2010, Windows SharePoint Services 3.0 with Service Pack 1, or Microsoft Office SharePoint Server 2007.

What interesting is SQL Server 2005 Notification Services with Service Pack 2 in combination with SQL Server 2008 R2. If you follow the manual and proceed step by step you eventually are going to configure BizTalk 2010. When you reach step to configure BizTalk BAM Tools and Alerts you can stumble on this kind of error:

Microsoft.BizTalk.Bam.Management.BamManagerException: Failed to set up BAM database(s). ---> Microsoft.BizTalk.Bam.Management.BamManagerException: There was a failure while executing nscontrol.exe. Error:"Microsoft Notification Services Control Utility 9.0.242.0 c Microsoft Corp. All rights reserved. An error was encountered when running this command. Could not load file or assembly 'Microsoft.SqlServer.Smo, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. " at Microsoft.BizTalk.Bam.Management.AlertModule.ExecNSControlCommand(String commandArg) at Microsoft.BizTalk.Bam.Management.AlertModule.SetupAlertInfrastructure() at Microsoft.BizTalk.Bam.Management.BamManager.SetupDatabases() --- End of inner exception stack trace --- at Microsoft.BizTalk.Bam.Management.BamManager.SetupDatabases() at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.HandleSetupDatabases() at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.DispatchCommand() at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.Run() at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.Main(String[] args)

I stumbled on it and so did other people I noticed on BizTalk General Forum (see this thread). Solution to this problem is by installing SP3 for SQL Server 2005. I installed BizTalk 2010 on different environments and what I did when following manual instructions is to install SQL Server 2005 Notifications Services through one of SQL Server 2005 ISO’s and then applied first SP2 and later SP3. When you install SQL Server 2008 R2 later on you will see this screen.

BizTalk R2 SQL NS

When you reach this screen you will first see it has Named instance selected, but I changed it to Default instance and proceeded further with my installation. During configuration of BizTalk 2010 BAM Tools and Alerts everything went smoothly. I guess is that requirement should be  SQL Server 2005 Notification Services with Service Pack 3. At least in the case when you want to use SQL Server 2008 R2. The suggested feature pack mentioned in installation document is not going to work, because you will get an error as displayed above.

Cheers!

Technorati:

Comments

Veeren said…
i am using SQL Server 2008 and using the BAM 2010 when i try to config the Alerts i am getting error please send me some solution

Veeren.
veer4urs@gmail.com
Veeren said…
I am fcing the same problem but i am using SQL server 2008 and BAM 2010 please let me know how to create BAM Alerts with out any error.
Hi,

I think you can find some answers through this thread on BizTalk forums: http://social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/c5f01a07-b4fa-45b5-a0f1-6e9b443598d2 or other threads. It basically comes down to installing SQL NS from SQL 2005 media and SP3.
Silverbugg said…
Hi,

When I originally configured BTS 2010 all was resolving correctly for all BAM databases. I tried to go back in to update portal and notification settings when I noticed that my BAMAnalysis DB was throwing an error. "could not load file or assembly 'microsoft.analysisservices.adomdclient version=9.0.242.0,..." when looking in the Assembly file I have only 10.0 version but of this specific assembly but 2 versions of the rest of the analysis assemblies in both the needed 9.0.242.0 and the 10.0 versions. Is there a SQL 2008 R2 update that moght hose this? How can I get the 9.0.242.0 version back?
Silverbugg said…
Solved it. Needed more of the feature pack from SQL Server 2005 than what was indicated in the "BizTalk 2010 Installation and Configuration Guide" by Jay Kladiva specifically SQLServer2005_ADOMD_x64 in conjunction with SQLServer2005_NS_x64 & SQLServer2005_XMO_x64 on SQL 2008 R2 server.

Popular posts from this blog

DTAP Strategy: Pricing and Licensing

Table Operation on Oracle 11g XE with OracleDbBinding

Integration, the community blasting into 2017!