BizTalk References ‘Gotch’yas

BizTalk Application References

Ever deployed something with biztalk, and got

Inner exception: Could not load file or assembly <assembly info> or one of its dependencies. The system cannot find the file specified.

When you know you installed it to the gac? 

BizTalk Orchestration References

Or when you are developing in Visual Studio, update a reference library, and then try to access something you changed?  Only to see that it isn’t an even an option in the auto assist?

Solution 

Well i have found that VS Biztalk Solutions do not* update references after you change them. As a result when you deploy it uses old assembly info, and when you are auto-assiting it does not populate with the new assembly info.   A quick/easy, yet really annoying, way around this is to unload your BizTalk solution that contains your orchestrations, and then reload.

 

Once you have done this, redeploy, and restart the biztalk host instance, and VOLIA!  Error gone.

Advertisements
Tagged with: ,
Posted in BizTalk

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 bloggers like this: