Discussion:
Deployment problem
(too old to reply)
Francois PIETTE
2009-09-04 09:50:23 UTC
Permalink
Hi !

Sorry for my beginner's questions. I'm trying to learn BizTalk with BTAHL7.

I'm studying "HL7_V2_DeveloperGuide.doc"
(http://www.microsoft.com/downloads/details.aspx?FamilyID=2D771D83-9C4B-4E8F-A264-50F961D1BB7B&displaylang=en)
and experience some problems.

A) In the "click-trough steps for configuring a test solution" (page 23 and
following), everything looks OK until step 12. I say "looks" because I do
not see "ADT_Test" application in BizTalk administration console, even after
restarting the host instance. BizTalk do not see the application.

As stated in the click-trough steps, I deployed each assembly individually
and VS said deployment was successful.

When I look in the GAC using ".NET Framework 2.0 Configuration" (control
panel applet), I can see ADT_Test, BTAHL7V232Common and BTAHL7V2XCommon
assemblies.

What could be wrong ?

Note: When building BTAHL7V2XCommon, VS show in the output window that the
dependcy 'Microsoft.BizTalk.Tracing' could not be found. I don't know if it
is normal and if not, how to fix it. I see that assembly in the GAC.

B) In the "click-trough steps for configuring a test solution", step 13
(page 26), it is asked to create the necessary receive port and receive
location. The steps do not specify on behalf of which application I have to
do that. Probably it is ADT_Test but I don't see it in the list (see issue
'A' above). What should I do ?


Config: BTS2006R2 running on W2K3, SQL2005STD, VS2005. All updates are done.

Any help greatly appreciaded.
--
Francois Piette
http://www.overbyte.be
Tom Canter - Neudesic
2009-09-05 14:59:21 UTC
Permalink
Look in the BizTalk Application.1
You will find your components there.
You have not configured the Deployment Properties in the Project
Properties to set the Application to ADT_Test.

If you do that, you must first locate the deployed components and
remove them because you cannot have the same assembly deployed to two
applications, and the deployment will fail.

Thanks,
Tom
Francois PIETTE
2009-09-07 07:42:14 UTC
Permalink
Post by Tom Canter - Neudesic
Look in the BizTalk Application.1
You will find your components there.
You are right. I see my assemblies listed in BizTalk Application 1/ Schemas.
Post by Tom Canter - Neudesic
You have not configured the Deployment Properties in the Project
Properties to set the Application to ADT_Test.
I think I have followed the "click-trough steps" shown in the document. I
will check if I have skipped a step.
Post by Tom Canter - Neudesic
If you do that, you must first locate the deployed components and
remove them because you cannot have the same assembly deployed to two
applications, and the deployment will fail.
Excuse my beginner's question: How do I remove a component ? Is it enough to
right click on the assembly in the schemas view (BT admin console) and
select remove, or do I have some more steps such as also removing the
assemble from the cache using the .NET configuration control panel applet ?


You have answered most of my questions, but did not answered about the
dependency 'Microsoft.BizTalk.Tracing' which is not found. Any idea ?

Thanks for your help.
--
Francois Piette
http://www.overbyte.be
Tom Canter - Neudesic
2009-09-08 14:30:09 UTC
Permalink
Francois,
First, you have already varied from the documentation, because the
documentation does not direct you to create an Application called
ADT_Test.
If you did not perform that step, you wouldn't be having this
confusion.

Please read the BizTalk Documentation:
Deploying and Managing BizTalk Applications
http://msdn.microsoft.com/en-us/library/aa578693(BTS.10).aspx

The questions you are asking have actually nothing to do with HL7, but
rather BizTalk Operations, please get that sorted out using the non-
HL7 groups and come back here when you have the next 100 questions
about HL7.

Thanks, hang in there!
Tom
Francois PIETTE
2009-09-09 06:52:13 UTC
Permalink
Post by Tom Canter - Neudesic
First, you have already varied from the documentation, because the
documentation does not direct you to create an Application called
ADT_Test.
If you did not perform that step, you wouldn't be having this
confusion.
Agreed, but you told me in the previous message to do that...
Post by Tom Canter - Neudesic
Deploying and Managing BizTalk Applications
http://msdn.microsoft.com/en-us/library/aa578693(BTS.10).aspx
Will do.
Post by Tom Canter - Neudesic
The questions you are asking have actually nothing to do with HL7, but
rather BizTalk Operations
Well, more or less. It is a BTAHL7 application.


Thanks for your help.
--
Francois Piette
http://www.overbyte.be
Marco
2009-09-15 07:45:01 UTC
Permalink
Hi Francois

I varied from the documentation as well, as I want to understand not only
HL7 but also BizTalk. Basically the solution was easy. When you have deleted
all applications and created a new one you can add the assemblies when you
right-click on "Resources" in your application's tree in BizTalk
Administrator, choose "Add" and browse to "<%Microsoft BizTalk Accelerator
for HL7 2.0\bin%>" and select the assemblies you require (you can build your
solution and deploy it and then based on the dependency errors check which
ones you need as well to import, e.g. BTAHL7.HL7Schemas.

If you haven't deleted "Application 1" then you could add a reference to
this application, as pointed out before, or go to Application 1's "Resource"
directory, locate the required assemblies and move them to your application.

Hope this helps.

Cheers

Marco
Post by Francois PIETTE
Post by Tom Canter - Neudesic
First, you have already varied from the documentation, because the
documentation does not direct you to create an Application called
ADT_Test.
If you did not perform that step, you wouldn't be having this
confusion.
Agreed, but you told me in the previous message to do that...
Post by Tom Canter - Neudesic
Deploying and Managing BizTalk Applications
http://msdn.microsoft.com/en-us/library/aa578693(BTS.10).aspx
Will do.
Post by Tom Canter - Neudesic
The questions you are asking have actually nothing to do with HL7, but
rather BizTalk Operations
Well, more or less. It is a BTAHL7 application.
Thanks for your help.
--
Francois Piette
http://www.overbyte.be
Loading...