RE: Reload GAC assembly in a child appdomain when testing BTS assembli

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




Hi Lars,

I think the following comments containing some helpful information on the
issue you met.

"As per Article <http://msdn2.microsoft.com/en-us/library/aa561436.aspx>
NET assemblies can be invoked from within a map by using the Scripting
functoid. This provides a great deal of flexibility and enables the
developer to solve many different custom mapping problems. It also imposes
a unique constraint on the map?it must internally reference not only the
assembly type name but also the full
assembly version number being invoked. As a consequence, if the version
number of the assembly called by the map changes, all of the links that
reference the assembly will break.

To avoid this issue we recommend that if assemblies are required to be
called from a map, a specific assembly is created to hold only map
functionality and the assembly version number of this assembly is fixed. In
this way, other helper functions can have the assembly version updated
without breaking the maps. If an assembly referenced from a map is changed
after map development then consider
updating the map file outside of the Map Editor to reflect the updated
version numbers.

Best way is to open Map in Notepad to modify the map file to reflect
updated version numbers "

Thanks.

Sincerely,

WenJun Zhang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

MSDN Managed Newsgroup support offering is for non-urgent issues where an
initial response from the community or a Microsoft Support Engineer within
2 business day is acceptable. Please note that each follow up response may
take approximately 2 business days as the support professional working with
you may need further investigation to reach the most efficient resolution.
The offering is not appropriate for situations that require urgent,
real-time or phone-based interactions. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.



.



Relevant Pages

  • Re: Error loadin VS 2005 DLLs in Windows Vista
    ... application with private assemblies on your Windows Vista system. ... You can redistribute them by using merge modules. ... Microsoft Online Community Support ... or a Microsoft Support Engineer within 1 business day is acceptable. ...
    (microsoft.public.vc.language)
  • Re: UBL and BizTalk Maps
    ... We are using UBL documents in our B2B project. ... referred by the other assemblies (Transforms and Orchestrations ... We create a map with OrderResponse as destination document, ...
    (microsoft.public.biztalk.general)
  • Re: XSL Transform error: foofunction() is an unknown XSLT function
    ... I was encountering this problem when I was running 'Test Map' on the map. ... functoids in memory or something... ... > BizTalk scripting references to external assemblies are based upon a ... > b/ Go to every scripting functoid and re-set them to the new assembly. ...
    (microsoft.public.biztalk.general)
  • Is that possible to call .net 2.0 com component fro .net 1.1 application?
    ... I wrote a map component with Visual studio 2005, ... tlb assemblies. ... When I tried to add the tlb file as the reference, ...
    (microsoft.public.dotnet.general)
  • RE: Map caching
    ... Generally crash will not lead to corruption of map which is stored in ... assemblies. ... Have you tried using Biztalk Deployment Wizard to remove the whole ...
    (microsoft.public.biztalk.general)