Re: Error :The Messaging Engine failed while executing the inbound map for the message coming from source while using custom functoid

Home Page Forums BizTalk 2004 – BizTalk 2010 Error :The Messaging Engine failed while executing the inbound map for the message coming from source while using custom functoid Re: Error :The Messaging Engine failed while executing the inbound map for the message coming from source while using custom functoid

#20604

Are you sure you are using the same input file while testing in Visual Studio vs BizTalk?  Is the file maybe getting updated in a pipeline so it is different when it hits your map?  It might help to debug the XSLT in VS: 

  1. In Visual Studio, validate the map.
  2. Open the output XSLT file (don’t CTRL click, copy and past the location into File -> Open so it will open in the XML editor instead of browser).
  3. Now a new XML menu will appear on the top menu.
  4. Click XML -> Debug XSLT.
  5. You will receive a warning that there is no input file.  Click OK and choose an input file.

Now you can step through the XSLT just like you were stepping through a C# file.  When an exception occurs, you will be able to see the actual exception details, intead of a masked exception like you would get from Test Map or in a BizTalk app.