Archive for ‘BizTalk’

February 20, 2012

MCTS : Microsoft BizTalk Server 2010

Finally cleared the Microsoft BizTalk Server 2010 certification.  🙂

You can download the Microsoft BizTalk Server 2010 VHS from here and BizTalk EAI and EDI tutorials in MSDN. As well as you can download the BizTalk Server 2010 labs from this link.

you can find more details about how to prepare for the exam from soa thoughts blog.

http://soa-thoughts.blogspot.com

Advertisements
January 29, 2012

Microsoft BizTalk Server 2010 online Virtual Labs

You can find Biz Talk Server 2010 online virtual labs here

MSDN virtual labs for Microsoft products:

http://msdn.microsoft.com/en-us/aa570323

February 3, 2011

Windows Server AppFabric

AppFabric gives us a single unified view of the cache for distributed applications. Just read about this in MSDN.

Key Features of AppFabric (http://msdn.microsoft.com/library/cc645013.aspx)

  • Caches any serializable CLR object and provides access through simple cache APIs.
  • Supports enterprise scale: tens to hundreds of computers.
  • Configurable to run as a service accessed over the network
  • Supports dynamic scaling-out by adding new nodes.
  • Backup copy provides high availability.
  • Automatic load balancing.
  • Integration with administration and monitoring tools such as PowerShell, Event Tracing for Windows, System Center, etc.
  • Provides seamless integration with ASP.NET to be able to cache session data in without having to write it to source databases. It can also be used as a cache for application data to be able to cache application data across the entire Web farm.
  • Follows the cache-aside architecture (also known as Explicit Caching) for V1. That is, you must decide explicitly which objects to put/remove in your applications and the cache does not synchronize with any source database automatically.

how to install and configure AppFabric : http://www.hanselman.com/blog/CategoryView.aspx?category=AppFabric

you can read more details on this from my colleagues blog : http://abdulrafaysbiztalk.wordpress.com/

Tags:
January 19, 2011

WSCF.blue

This is a Visaul Studio .NET 2008 add in that we can use to generate data contracts of a schema (XSD types). Earlier we were using the XSD2Code generater to generate our contracts but it lacks some features such as ordering, etc. In that case we have to do those modifications manually. Finally the WSCF.blue is a good tool and we don’t have to do anything manually. Using the wizard we can accomplish what we need.

you can download the tool from codeplex.

January 18, 2011

Missing Orchestration Files templates in Visual Studio 2008

I couldn’t find the Orchestration Files template in VS 2008 when i tried to do some testing projects today. It was there and couldn’t understand why it did disappeared suddenly.

without the orchestration templates :

just run the command  using the Visual Studio 2008 command prompt :  devenv /installvstemplates to reinstall your templates for VS 2008.

after running the above command :

January 12, 2011

Cannot create new BizTalk projects in Visual Studio Team System 2008

Suddenly I was unable to create BizTalk projects or even I was  unable to open existing BizTalk projects in my machine. Visual  Studio Team System 2008 started getting strucked when I started to do so.  I checked the event log and there was no events at all something related to VS 2008. But when I googled in some forum posts in MSDN says that when Visual Studio 2008 is repaired or when a Visual Studio 2008 update is installed, the value of the following registry entry is changed from csproj;btproj to csproj:

Location of those registry entries as below:

  • For 32-bit versions of Visual Studio 2008:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{FAE04EC0-301F-11d3-BF4B-00C04F79EFBC}\PossibleProjectExtensions
  • For 64-bit versions of Visual Studio 2008:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\Projects\{FAE04EC0-301F-11d3-BF4B-00C04F79EFBC}\PossibleProjectExtensions

For you to resolve the error just Update Value data in the Edit String dialog box to include the btproj project extension in addition to the csproj. So the finally entry in the value data should be csproj;btproj.

But in my case the registry entry was okay and correct.

So finally decided it may due to some corrupted installation files and just repaired the BizTalk installation. Finally I was able to open all my BizTalk and new BizTalk projects without any hassle anymore. J

so i started blogging for 2011 🙂

December 20, 2010

MCTS : Microsoft BizTalk Server 2006

Well i sat for the MCTS 70-235 (Developing Business Process and Integration Solutions using Microsoft BizTalk Server 2006) exam yesterday and glad to inform that i have passed. mmm.. with regard to the paper, most of the questions were related to BAM, BRE, deploying a BizTalk application, debugging BizTalk applications (ex: debugging orchestration, etc), some of them related to schema creation (ex: minoccurs, validating a schema, etc), role links and general BizTalk questions.

Before sitting for the exam just go through the sarvanas’ preparation diary. It helped me a lot in addition to the following Apress and Wrox eBooks :

  • BizTalk 2006 Recipes – A Problem-Solution Approach – Mark Beckner, Benjamin Goeltz, Brandon Gross,
    Brennan O’Reilly, Stephen Roger, Mark Smith,
    and Alexander West
  • Foundations of BizTalk Server 2006 – Daniel Woolston
  • Wrox Professional BizTalk® Server 2006 – Darren Jefford, Kevin B. Smith, Ewan Fairweather


July 14, 2010

Failed to connect to the SQL database ‘SSODB’ on SQL Server

When you tried to configure BizTalk after the successful installation, if you prompted for an error like the one mentioned above, Execute the following command in Visual Studio command prompt.

explore to the following folder:

C:\Windows\Microsoft.NET\Framework64\v2.0.50727>

and run the following command :

RegAsm.exe “C:\Program Files\Common Files\Enterprise Single Sign-On\SSOSQL.dll”

Note : As i am using the Windows 2008 R2 Server, i had to explore to the Framework64 folder.

image

May 30, 2010

Calling AS400 RPG Programs using C#

Throughout last few months i had a chance to work with AS400, Equation APIs. The purpose of these equations calls are that we have to develop WCF services on top of these API calls. These calls will be consumed by the BizTalk. Initially it was too hard as i couldn’t find any resources online. When i searched in gOOgle about the errors which come across at the time of developments, it does not return anything! It was some hard times and thank for my team lead for helping out on those situations. Hope to write something about  AS400, C# in coming days…

What is an AS400?

The AS/400 (Application System/400) was introduced by IBM on June 20th, 1988. Some of AS400 models are designed as Servers, while others are used as terminals or “display stations”. OS400 is the operating system for the AS/400.

In October of 2000, IBM rebranded the AS/400 and announced its name as the IBM iSeries 400. AS400 uses RPG (Report Program Generator) as its own programming language. Initially the RPG originated as a report-building program used in DEC and IBM minicomputer operating systems and evolved into a fully procedural programming language.

Here is the lovely interface of Equation.

image

As the starting point refer following links :

http://www.netsplore.com/PublicPortal/Default.aspx?tabid=246

http://www.netsplore.com/PublicPortal/Blog/tabid/284/EntryID/13/Default.aspx

February 24, 2010

Deploying BizTalk 2009 Applications

After long time i had to refresh my knowledge about deploying a BizTalk application. I did all these things some time back and totally forgot the things what i did. Anyhow after developing a small orchestration sample in VS 2008, i tried deploying the application. It successfully deploys but i couldn’t see the Application in the Biz Talk Administration Console. totally confused and was searching for the deployed Application name after restarting the service for one, two, three times. I had to make sure is that the schema, map were deployed or not. When i checked in the All Artifacts node, so i was able to find my schema, map were deployed successfully.

So after that i had to check the properties of the BizTalk project what i did developed in VS. When i checked the properties so the Application Name was empty.

image

In this case at the time of deploying, VS automatically deploys the application as “BizTalk Application 1” and when i checked the maps, schema folders, all my files were deployed there.

image

so i had to insert a name for the Application Name in VS 2008 and had to redeploy it again. At the time of deploying VS prompts you saying that the DLL is already deployed. What you have to do is remove the assembly from the GAC (C:\Windows\Assembly) and as well as the orchestration, map and schema files from the BizTalk Administrator Console. Once its done try to deploy it again and finally it was deployed successfully. 🙂

image

January 5, 2010

Biztalk Poster

Biztalk poster (Silverlight enabled) –

Check this out :

http://www.microsoft.com/biztalk/capabilities/reader/ .

Scroll/Zoom + click on a section where the help and various MSDN articles come up. really helpful for us. 🙂

December 3, 2009

Service Unavailable and SharePoint Error: Some or all identity references could not be translated

Currently i was working with some BizTalk test projects using a Virtual Machine installed with Windows 2003. I have installed BizTalk 2006 in the same machine in which i was doing some SharePoint projects. For me to install BizTalk 2006 i had to install DNS and the Active Directory. Prior to installing this BizTalk, SharePoint was working fine without giving me any headache.

After installing BizTalk it started to give me problems when i tried to access the SharePoint Central Administration. It prompted me for Service Unavailable error, Grr rrrr (at that time i was thinking if i need to redo these things again such as installing windows 2003 in a new virtual machine, after that installing DNS, installing Active Directory, installing MOSS 2009 and installing BizTalk 2009 – it will waste my time for sure).

So i know it was due to the installation of the Active Directory and i had to reset the permission in Application Pools in IIS (go to IIS, browse Application Pools and select your Application => right click and go to properties => from there select the Identity Tab and change the User Name and accordingly change the password.

image

Once its over when i tried to browse for SharePoint sites another error was prompting me saying “Some or all identity references could not be translated” (Hard Luck). So i was searching to resolve this problem. so Finally the utility STSADM was there to help us. You can find this tool under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN and just execute this command by replacing the proper login with the domain name followed by the password.

"stsadm.exe -o updatefarmcredentials -userlogin domainname\username –password yourpassword "

image

Once you executed the above command please make sure to do iisreset –noforce

Hurray!!! now everything works fine without any hassle. Hassle free of life.

Make sure to re-run the SharePoint Products and Technologies wizard once the above said steps are finished.

image

guys for more information please refer this URLs:

http://www.neilrichards.net/blog/?p=73

http://coolsubhash-tech.blogspot.com/2007/05/some-or-all-identity-references-could.html

http://www.keirgordon.com/post/SharePoint-Server-Error-Some-or-all-identity-references-could-not-be-translated.aspx

December 2, 2009

Failed to add resource(s). Resource () is already in store and is either associated with another application or with another type

image

when i was working with biztalk orchestration, there was an error prompted at the time when i did the deployment : “

Error 1 Failed to add resource(s). Resource (-Type=”System.BizTalk:BizTalkAssembly” -Luid=”BizTalkServerTestProjectAmmar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=dda761d103beeac0″) is already in store and is either associated with another application or with another type. 0 0 “

I thought we should just deploy the way that we are doing with other applications. But when researched about this if we didn’t specify any value for the Application Name in the Deployment properties page, then VS used to deploy the orchestration in BizTalk Server named with BizTalk Application 1.

image

To overcome the above said error i had to remove the resource file located under Resources folder as below:

image

once its done, the orchestration was deployed in the BizTalk Server successfully. 🙂

To avoid this in future, set explicitly deployment target application in the Visual Studio project properties by: right click – Configuration properties – Deployment – Application Name.

November 23, 2009

Microsoft Biz Talk Server 2009

Simply we can say the BizTalk is a Messaging Based Integration Tool and uses XML as the common data exchange language for eCommerce and application integration in the WWW.

In other words we can say that BizTalk is the main interface in between multiple systems and based on some definitions we can say as “BizTalk Server is Microsoft’s central platform for Enterprise Application Integration (EAI) and Business Process Management (BPM) and embodies the integration and automation capabilities of XML and Web Services technologies. BizTalk Server functions as a process execution engine and as a multi-transport hub for messaging and document transformations. It is a Windows Server System product that helps customers efficiently and effectively integrate systems, employees and trading partners”.

Biz2009 BizTalk_bt_1

you can understand what is happening inside BizTalk by viewing the following animated jpeg file :

get_image.php

if you can’t view the animation please do not hesitate to click this link:http://farm3.static.flickr.com/2718/4127256189_0da73842e3_o.gif