Blog

View Blog

Nov 1

Written by: Wilfried Mausz
01.11.2006 17:40

I am currently preparing samples for one of my BizTalk trainings in November. One thing which I always mention in my workshops but usually causes some trouble when afterwards doing the first steps with BizTalk is how a project should be prepared to be built and deployed in Visual Studio 2005.

After successfully creating some BizTalk artifacts the project should be built. So everything is compiled into an assembly. Then this assembly has to be deployed to BizTalk server. This means the assembly is registered in the internal BizTalk databases and, furthermore, registered in the Global Assembly Cache (GAC). For those who are not yet familiar with assemblies and GAC, take a look at http://en.wikipedia.org/wiki/.NET_assemblies and http://en.wikipedia.org/wiki/Global_Assembly_Cache.

Activate the "Deploy" checkbox

The first thing that happens after starting the deployment (in the Build  menu) is … nothing. The “Deploy” option of a BizTalk project is disabled by default. So to get it working, open the Solution properties and activate the “Deploy” checkbox for the BizTalk project.



Now one can press “Build, Deploy Solution” and something happens. But then usually the following error message is displayed:

Set the key-file

All BizTalk assemblies need to be strong-named. Check the article about .NET assemblies from above and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconworkingwithstrongly-namedassemblies.asp for more information on “strong-named assemblies”.

To make an assembly to a strong-named one, open the project properties of the BizTalk project choose “Assembly” and set the “Assembly key file” property to an appropriate key file.




If you do not have a key file, open the “Visual Studio Command Prompt” and create the file using

sn –k mykeyfile.snk

Now one can again try to build and deploy the solution and … you should get the “Deploy succeeded” – message.

Think about restarting the Host Instance

Usually there is a deployment warning that it may be necessary to restart the BizTalk Host Instance for changes to take effect. This would be needed if an assembly was changed and redeployed after an old version of it is already running on the server. But restarting the Host instance can be very useful too, after one has changed some messaging or Orchestration properties (like modifying Send Ports or Receive Locations and binding or enabling an Orchestration).



Tags:

74 comments so far...

Re: Preparing a BizTalk project to be built and deployed

I have never seen such a good and clear example.
Its like a crystal water.
Hats off:)

Gautam,
mech.gautam@gmail.com

By Anonymous on   07.03.2008 12:56

marcus evans

marcus evans company information
# marcus evans

By TrackBack on   02.08.2008 01:17

marcus evans

marcus evans holiday 2004
# marcus evans

By TrackBack on   05.08.2008 11:58

marcus evans

marcus evans alexa information
# marcus evans

By TrackBack on   19.08.2008 12:09

aceldiul

aceldiul
# aceldiul

By TrackBack on   30.01.2010 03:36

Re: Preparing a BizTalk project to be built and deployed

In my last 1z0-051 weblog about testing regular expressions I have written about KIKI which enables one to enter a demo text and test regular expressions against it. The tool shows you which matches were found in the text and how the expression was evaluated.220-601 But it was not able to create a new expression with this application. You just could test existing ones.

While searching infos for a new project I found a program called Expresso, which enables one to build and test .NET 220-602 regular expressions

By leeman2009 on   30.01.2010 11:23

januvia

januvia
# januvia

By TrackBack on   01.02.2010 05:26

diovan

diovan
# diovan

By TrackBack on   01.02.2010 05:26

differin

differin
# differin

By TrackBack on   01.02.2010 05:26

diovan

diovan
# diovan

By TrackBack on   01.02.2010 05:26

robaxin

robaxin
# robaxin

By TrackBack on   01.02.2010 05:26

buy prozac

buy prozac
# buy prozac

By TrackBack on   01.02.2010 05:26

levitra

levitra
# levitra

By TrackBack on   01.02.2010 05:26

generic soma

generic soma
# generic soma

By TrackBack on   01.02.2010 07:25

evista

evista
# evista

By TrackBack on   01.02.2010 10:37

tamiflu

tamiflu
# tamiflu

By TrackBack on   01.02.2010 12:05

montelukast

montelukast
# montelukast

By TrackBack on   01.02.2010 14:00

adipex pill

adipex pill
# adipex pill

By TrackBack on   01.02.2010 14:00

decadron

decadron
# decadron

By TrackBack on   01.02.2010 15:12

order viagra

order viagra
# order viagra

By TrackBack on   01.02.2010 22:53

advil

advil
# advil

By TrackBack on   02.02.2010 00:19

atrovent

atrovent
# atrovent

By TrackBack on   02.02.2010 02:42

furosemide

furosemide
# furosemide

By TrackBack on   02.02.2010 03:48

hytrin

hytrin
# hytrin

By TrackBack on   02.02.2010 04:57

combivent

combivent
# combivent

By TrackBack on   02.02.2010 06:15

pepcid

pepcid
# pepcid

By TrackBack on   02.02.2010 08:26

tamiflu

tamiflu
# tamiflu

By TrackBack on   02.02.2010 09:48

allegra d

allegra d
# allegra d

By TrackBack on   02.02.2010 11:05

abana

abana
# abana

By TrackBack on   02.02.2010 12:29

furosemide

furosemide
# furosemide

By TrackBack on   02.02.2010 13:39

buy cheap phentermine

buy cheap phentermine
# buy cheap phentermine

By TrackBack on   02.02.2010 15:00

coq10

coq10
# coq10

By TrackBack on   02.02.2010 15:01

wellbutrin sr

wellbutrin sr
# wellbutrin sr

By TrackBack on   02.02.2010 16:09

losartan

losartan
# losartan

By TrackBack on   02.02.2010 17:19

vytorin

vytorin
# vytorin

By TrackBack on   02.02.2010 18:39

advair diskus

advair diskus
# advair diskus

By TrackBack on   02.02.2010 19:54

cheap soma

cheap soma
# cheap soma

By TrackBack on   02.02.2010 19:55

januvia

januvia
# januvia

By TrackBack on   02.02.2010 21:00

trazodone

trazodone
# trazodone

By TrackBack on   02.02.2010 21:00

acai supplements

acai supplements
# acai supplements

By TrackBack on   02.02.2010 22:06

buy cheap phentermine

buy cheap phentermine
# buy cheap phentermine

By TrackBack on   02.02.2010 23:15

dramamine

dramamine
# dramamine

By TrackBack on   02.02.2010 23:15

finasteride

finasteride
# finasteride

By TrackBack on   03.02.2010 00:28

buy cheap phentermine

buy cheap phentermine
# buy cheap phentermine

By TrackBack on   03.02.2010 02:01

tadalafil

tadalafil
# tadalafil

By TrackBack on   03.02.2010 02:02

singulair

singulair
# singulair

By TrackBack on   03.02.2010 03:42

l glutamine

l glutamine
# l glutamine

By TrackBack on   03.02.2010 04:50

vytorin

vytorin
# vytorin

By TrackBack on   03.02.2010 06:04

cheap soma

cheap soma
# cheap soma

By TrackBack on   03.02.2010 07:28

maxalt

maxalt
# maxalt

By TrackBack on   03.02.2010 08:43

lortab

lortab
# lortab

By TrackBack on   03.02.2010 09:58

flomax side effects

flomax side effects
# flomax side effects

By TrackBack on   03.02.2010 10:59

zoloft side effects

zoloft side effects
# zoloft side effects

By TrackBack on   03.02.2010 12:09

atrovent

atrovent
# atrovent

By TrackBack on   03.02.2010 13:40

tylenol with codeine

tylenol with codeine
# tylenol with codeine

By TrackBack on   03.02.2010 14:53

cheap adipex online

cheap adipex online
# cheap adipex online

By TrackBack on   03.02.2010 16:20

naproxen sodium

naproxen sodium
# naproxen sodium

By TrackBack on   03.02.2010 17:22

mobic

mobic
# mobic

By TrackBack on   03.02.2010 18:46

carisoprodol

carisoprodol
# carisoprodol

By TrackBack on   03.02.2010 20:26

buy ultram

buy ultram
# buy ultram

By TrackBack on   03.02.2010 22:38

pyfbsjzt

pyfbsjzt
# pyfbsjzt

By TrackBack on   04.02.2010 07:53

singulair

singulair
# singulair

By TrackBack on   04.02.2010 13:45

buy hydrocodone

buy hydrocodone
# buy hydrocodone

By TrackBack on   04.02.2010 14:59

hychzklz

hychzklz
# hychzklz

By TrackBack on   04.02.2010 22:43

knaasuou

knaasuou
# knaasuou

By TrackBack on   04.02.2010 22:43

evista

evista
# evista

By TrackBack on   05.02.2010 04:46

biaxin

biaxin
# biaxin

By TrackBack on   05.02.2010 06:12

ginseng

ginseng
# ginseng

By TrackBack on   05.02.2010 06:12

paroxetine

paroxetine
# paroxetine

By TrackBack on   05.02.2010 07:44

atorvastatin

atorvastatin
# atorvastatin

By TrackBack on   05.02.2010 08:57

wellbutrin sr

wellbutrin sr
# wellbutrin sr

By TrackBack on   05.02.2010 10:17

lortab

lortab
# lortab

By TrackBack on   05.02.2010 12:16

free cialis

free cialis
# free cialis

By TrackBack on   05.02.2010 13:27

alendronate

alendronate
# alendronate

By TrackBack on   05.02.2010 14:37

Your name:
Title:
Comment:
Add Comment    Cancel  

Newsletter

Sie möchten im Newsletter über aktuelle technische Entwicklungen und Neuigkeiten rund um cubido informiert werden?

Newsletter abonnieren ...

Blog