BizTalk Server General - Newbie: Stoping and Undeploy problems

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > November 2004 > Newbie: Stoping and Undeploy problems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Newbie: Stoping and Undeploy problems
Jules

2004-11-18, 5:49 pm

Hello,

I have just started with BIZTALK 2004, and got basic XML file mapping
IN/ OUT working OK. Now I want to clean up and undeploy my service.

Is there a straightforward way to do this ?

I have stopped Send Ports and Orchestration, and Disabled Receive
Location/ Receive Port in BizTalk Administration And I have
Unenlisted Send Ports in Visual Studio BIZTALK Explorer.
So I think all relevant bits have been stopped etc

But when I try to Un deploy my Assembly in Visual Studio, I still get
the error:

"Some items in the remnoved assembly are stil being used by items not
defined in the same assembly, thus removal of the assembly failed.
Make sure Pipelines, Maps and Schemas are not being used by Send Ports
or Receive Locations. "

So the Assembly remains in the Assembly list. The same error happens
with the Deploment Wizard.

It is very frustrating, as I cannot see any clear way to stop and
undeploy of my first BIZTALK example.

Thanks for any help

Jules

Devdutt Patnaik

2004-11-18, 5:49 pm

Any active/suspended service instances visible in HAT?
You need to terminate them too.
Regards
Dev
"Jules" <Julian.Nospam.Winter@blueyonder.co.uk> wrote in message
news:7t3qp0ti9r0ongm1a1at82gh1f8q6k7lqh@
4ax.com...
> Hello,
>
> I have just started with BIZTALK 2004, and got basic XML file mapping
> IN/ OUT working OK. Now I want to clean up and undeploy my service.
>
> Is there a straightforward way to do this ?
>
> I have stopped Send Ports and Orchestration, and Disabled Receive
> Location/ Receive Port in BizTalk Administration And I have
> Unenlisted Send Ports in Visual Studio BIZTALK Explorer.
> So I think all relevant bits have been stopped etc
>
> But when I try to Un deploy my Assembly in Visual Studio, I still get
> the error:
>
> "Some items in the remnoved assembly are stil being used by items not
> defined in the same assembly, thus removal of the assembly failed.
> Make sure Pipelines, Maps and Schemas are not being used by Send Ports
> or Receive Locations. "
>
> So the Assembly remains in the Assembly list. The same error happens
> with the Deploment Wizard.
>
> It is very frustrating, as I cannot see any clear way to stop and
> undeploy of my first BIZTALK example.
>
> Thanks for any help
>
> Jules
>



Greg Forsythe

2004-11-18, 5:49 pm

Do any of your receive ports/locations or send ports have custom pipelines
or maps declared. If this is the case, just stopping the send port or
disabling the receive function does not remove the reference. You will need
to edit the send ports, etc to remove maps and set the pipelines to
Passthru. When you redeploy you must reset the maps and pipelines back to
the required values.
You can do this using:
1.Biztalk Explorer
2. Create an Undeploy binding file -create a binding file and edit the
ReceivePipeline, TransmitPipeline and Transform nodes. You can use the
deployment wizard to import this binding file
3. Other tools like the Biztalk Administration Management tool
http://www.gotdotnet.com/Community/...CE-639AE7BB9BEF


"Devdutt Patnaik" <aquarius@taurus.com> wrote in message
news:OsRmrVbzEHA.1652@TK2MSFTNGP11.phx.gbl...
> Any active/suspended service instances visible in HAT?
> You need to terminate them too.
> Regards
> Dev
> "Jules" <Julian.Nospam.Winter@blueyonder.co.uk> wrote in message
> news:7t3qp0ti9r0ongm1a1at82gh1f8q6k7lqh@
4ax.com...
>
>



Jules

2004-11-19, 5:48 pm

OK

So in addition to Unenlisting any associated Send Ports, these also
need to be deleted prior to any UnDeploy Assembly attempts.

So for any other newbies on thieir first examples it appears that the
process to undeploy Assemblies is:

a) Disable all associated ReceiveLocations
b) Stop all associated Send Ports
c) Delete all associated Send Ports
d) You can then Undeploy the Assembly

All these operations can be done in the Visual Studi BizTalk Explorer,
but there are probaby other ways to achieve these as well.

I have been finding the following tutorial useful
http://www.harper.no/valery/content...TSLabsPart1.pdf

Jules

On Thu, 18 Nov 2004 21:22:40 GMT, Jules
<Julian.Nospam.Winter@blueyonder.co.uk> wrote:

>Hello,
>
>I have just started with BIZTALK 2004, and got basic XML file mapping
>IN/ OUT working OK. Now I want to clean up and undeploy my service.
>
>Is there a straightforward way to do this ?
>
>I have stopped Send Ports and Orchestration, and Disabled Receive
>Location/ Receive Port in BizTalk Administration And I have
>Unenlisted Send Ports in Visual Studio BIZTALK Explorer.
>So I think all relevant bits have been stopped etc
>
>But when I try to Un deploy my Assembly in Visual Studio, I still get
>the error:
>
>"Some items in the remnoved assembly are stil being used by items not
>defined in the same assembly, thus removal of the assembly failed.
>Make sure Pipelines, Maps and Schemas are not being used by Send Ports
>or Receive Locations. "
>
>So the Assembly remains in the Assembly list. The same error happens
>with the Deploment Wizard.
>
>It is very frustrating, as I cannot see any clear way to stop and
>undeploy of my first BIZTALK example.
>
>Thanks for any help
>
>Jules


Nabeel Prior

2004-11-19, 5:48 pm

This is not the case.

It depends on how you setup your assemblies. If you have one assembly that
contains your orchestration(s) and another that contains your schemas and
maps, you will not be able to remove the schema assembly from BizTalk until
the Orchestration assembly has been removed, as there is a dependancy on the
schemas assembly.

The question, therefore, is what is in the assembly you are trying to
remove, and what assemblies are dependant on it.

Having said that, if you are wanting to remove an assembly that contains
maps and you have used the maps on a port, you must first manually remove
the map from the port before you will be able to remove the assembly.
--

Kind Regards,

Nabeel Prior
Web: http://www.brainjar.co.za
Blog: http://www.brainjar.co.za/blog.aspx


"Jules" <Julian.Nospam.Winter@blueyonder.co.uk> wrote in message
news:v7bsp094titf8ais0h46av9fsikduksegj@
4ax.com...
> OK
>
> So in addition to Unenlisting any associated Send Ports, these also
> need to be deleted prior to any UnDeploy Assembly attempts.
>
> So for any other newbies on thieir first examples it appears that the
> process to undeploy Assemblies is:
>
> a) Disable all associated ReceiveLocations
> b) Stop all associated Send Ports
> c) Delete all associated Send Ports
> d) You can then Undeploy the Assembly
>
> All these operations can be done in the Visual Studi BizTalk Explorer,
> but there are probaby other ways to achieve these as well.
>
> I have been finding the following tutorial useful
> http://www.harper.no/valery/content...TSLabsPart1.pdf
>
> Jules
>
> On Thu, 18 Nov 2004 21:22:40 GMT, Jules
> <Julian.Nospam.Winter@blueyonder.co.uk> wrote:
>
>



Martijn Hoogendoorn

2004-11-22, 5:48 pm

On Fri, 19 Nov 2004 21:11:23 +0200, Nabeel Prior wrote:

> This is not the case.
>
> It depends on how you setup your assemblies. If you have one assembly that
> contains your orchestration(s) and another that contains your schemas and
> maps, you will not be able to remove the schema assembly from BizTalk until
> the Orchestration assembly has been removed, as there is a dependancy on the
> schemas assembly.
>
> The question, therefore, is what is in the assembly you are trying to
> remove, and what assemblies are dependant on it.
>
> Having said that, if you are wanting to remove an assembly that contains
> maps and you have used the maps on a port, you must first manually remove
> the map from the port before you will be able to remove the assembly.


[shameless plug]

Also, you could try my utility, which does all the work for you:

http://martijnh.blogspot.com/2004/0...oyassembly.html

[/shameless plug]
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com