Blogging BizTalk

Lets Discuss BizTalk

BizTalk : Error: Failed to add resource(s).Resource (-Type=”YOUR ASSEMBLY NAME”) is already in store and is either associated with another application or with another type.


Error: Failed to add resource(s).Resource (-Type=”YOUR ASSEMBLY NAME”)  is already in store and is either associated with another application or with another type.

You will see this error if no Application Name Property (Properties>>Deployment>>Application Name)was mentioned and you have deployed  In this case the BizTalk artifact installs itself into the default BizTalk Application 1 container or to the application container which is set to default application.

DefaultContiner

Now if you try to redeploy it to some other container you will see this error reason the assembly is allready present in some other BizTalk container.

Solution : You need to remove this before trying a redeploy. Manual way is to go to “All Artifacts” search for it and remove resource.

Or else a simple way is to just run this in your batch file

BTSTask RemoveResource -ApplicationName:”Your BT Container Where It Got Installed By Mistake”% -Luid:”YOUR ASSEMBLY NAME”

The second approach will come more handy when you are using a build server to create your msi. You may also need to remove the other assemblies which are already using it. Overall not a very pleasant experience and can be avoided by keeping a close eye before you hit the deploy button.

Please leave me a comment in case you have questions.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

D Goins Insperience

Technological outformation for this day and age

[INACTIVE BLOG] Connected Thoughts - Thiago Almeida

Connected systems and the occasional picture

Uri Katsir's Blog

BizTalk , BizTalk RFID and .NET

prashantbiztalkblogs

My BizTalk Experiences

BizTalk Server Tutorial

BizTalk Server Concepts and Common Errors

Extremely Talented Monkeys

A Technical Blog by Ed Jones: Azure, .NET, BizTalk, WCF, and SQL Server

On All Things Web

Discussing web development without limits

Vikas Bhardwaj's Blog

Articles about BizTalk Server and .NET C#

Cloud develop

a blog about (cloud) development... because I'm a nerd

Hooking Stuffs Together

My learning logs from day to day work experience about Integration platform using Microsoft technologies.

Connected Pawns

Mainly BizTalk & Little Chess

jhelatissimo

a blogger in the process.

MS Innovations Blog

Tips, Tricks, and Workarounds for BizTalk and other Microsoft technologies

srirambiztalks

Katradhu Kaialavu,Kalladhadhu Ulagalavu!

Vijay Microsoft Technical

BizTalk, WCF, ESB ToolKit, Windows Azure

Mind Over Messaging

Musings on BizTalk, Azure, WCF, and Enterprise Integration

%d bloggers like this: