Wednesday, November 12, 2008

Midnight Oil Saving tip for newbie Biztalk 2006 Developers

Unlike common .NET applications which stores the regenerated assembly in the bin folder. When you deploy the Biztalk Orchestration assembly to the Biztalk Server the assembly resides in the Global Assembly Cache.

So after deploying even if you change the orchestration and redeploy you won't see the change.

In order to reflect your change.
1. Completely Stop the Biztalk application
2. Re-Deploy the orchestration from Visual Studio.
3. Re-Start the Biztalk Instance
4. Re-Start the Biztalk application

If things dont work as expected.
1. Completely Stop the Biztalk application
2. Delete the entire Biztalk application (verify that this assembly is removed from GAC by viewing the assembly folder)
3. Re-Deploy the orchestration from Visual Studio.
4. Re-Start the Biztalk Instance
5. Create and enable ports
6. Re-Start the Biztalk application

I am not sure why this GAC thing is not communicated in most books... This would defintely give you a head start.

Happy Programming,
Anton

Labels: