BizTalk Server Orchestration - TypeLoadExcepton on access of a promoted node by functoid

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > January 2005 > TypeLoadExcepton on access of a promoted node by functoid





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 TypeLoadExcepton on access of a promoted node by functoid
Stephen

2005-01-29, 2:46 am

The following "construct" block code in my orchestration copies the inbound
message (GapiIn) so I can override the promoted GapiType element value with
the generated BizTalk MessageID. "BTG" is the high order namespace for my
application and "BTS" is the same for BizTalk.

GapiInCopy=GapiIn;
GapiInCopy(BTG.GapiType)= GapiIn(BTS.MessageID);

In the mapper block, I link the GapiType schema node to the input of a
functoid that invokes an assembly. This assembly dynamically creates an
acknowledgement message and assigns the GapiType value (MessageID) to a
transaction identifier variable. It ends by serializing the message into a
node on the mapper's destination schema so I can return it to the initial
requester.

Everything compiles without error and the individual map works (well, it
marshal’s the node name into the message identifier since it doesn’t have a
MessageID at map test time). However, when I push an actual message through
this linkage, I get the following run-time error:

Uncaught exception terminated service
GTB.GTBOrch(8b204de5-7727-fa18-fb03-a4d7ad842e11), instance
5d46ab1c-fd91-4ece-954a-c7e8c08d3fdf
Could not load type BTG.GapiType from assembly BTG, Version=1.0.0.2,
Culture=neutral, PublicKeyToken=a2df38bd9e7c22a6.
Exception type: TypeLoadException
Source: GTB
Target Site: Microsoft.XLANGs.Core.StopConditions
segment1(Microsoft.XLANGs.Core.StopConditions)

I've triple checked the assembly version sync between the GAC and the
deployed application so I know its not that. From what I understand, this
approach should work. Any ideas of how to resolve this would be greatly
appreciated. Thanks!
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com