BizTalk Server Orchestration - MissingMethodException

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > June 2006 > MissingMethodException





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 MissingMethodException
dwg

2006-06-29, 1:18 am

I have several orchestrations that call an external C# assembly I created to
handle custom logic for my BizTalk 2006 project. My orchestrations and
external assembly operate fine in my development and production servers.

Recently I updated one of the functions in my external assembly to expect an
XML message as a param as follows:

Public static string setCaseStage(string sCaseID, string sCaseStage,
System.Xml.XmlDocument xmlDoc)

The code works perfectly well on my development environment ... however,
when I deploy the BizTalk project (including custom assembly) to our staging
server the code no longer works. I am receiving the following error message
on staging:

"Exception thrown from: segment -1, progress -1
Inner exception: Method not found: 'System.String
PAS_ClassLibrary.Common.setCaseStage(System.String, System.String,
System.Xml.XmlDocument)'.

Exception type: MissingMethodException"

Both of the servers in question are Windows 2003 Server SP1 with all of the
prerequisites installed for BizTalk except, of course, Visual Studio 2005 on
staging. I've already went through the repair process for the SQLXML3SP3,
MSXML6, MSXML4SP2 and ASP.Net 2.0. I also restarted the server with no effect.

Can anyone tell me what could/would be responsible for this kind of error
message ... and what I can do to fix it?

Thanks
DWG
Matt Meleski

2006-06-29, 7:17 pm

I am sure you did this, but did you re-gac the external assembly on the
production box ? Or possibly the deploy of the custom assemblied hiccupped.
Can you manually re-gac the updated reassembly on the production box?

"dwg" wrote:

> I have several orchestrations that call an external C# assembly I created to
> handle custom logic for my BizTalk 2006 project. My orchestrations and
> external assembly operate fine in my development and production servers.
>
> Recently I updated one of the functions in my external assembly to expect an
> XML message as a param as follows:
>
> Public static string setCaseStage(string sCaseID, string sCaseStage,
> System.Xml.XmlDocument xmlDoc)
>
> The code works perfectly well on my development environment ... however,
> when I deploy the BizTalk project (including custom assembly) to our staging
> server the code no longer works. I am receiving the following error message
> on staging:
>
> "Exception thrown from: segment -1, progress -1
> Inner exception: Method not found: 'System.String
> PAS_ClassLibrary.Common.setCaseStage(System.String, System.String,
> System.Xml.XmlDocument)'.
>
> Exception type: MissingMethodException"
>
> Both of the servers in question are Windows 2003 Server SP1 with all of the
> prerequisites installed for BizTalk except, of course, Visual Studio 2005 on
> staging. I've already went through the repair process for the SQLXML3SP3,
> MSXML6, MSXML4SP2 and ASP.Net 2.0. I also restarted the server with no effect.
>
> Can anyone tell me what could/would be responsible for this kind of error
> message ... and what I can do to fix it?
>
> Thanks
> DWG

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com