Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Biztalk
acce.forsuppliers
acce.hipaa
acce.hl7
acce.rosettanet
accelerator.finserv
admin
appintegration
framework
general
library
nonxml
orchestration
sdk
server
setup
tools
xlangs
xsharp
  
 
date: Wed, 16 Nov 2005 14:14:04 -0700,    group: microsoft.public.biztalk.sdk        back       


BTS2004 Throwing Pipeline Component Errors   
Hi,

I am trying to throw an error from an custom pipeline disassembler 
component.  Here is part of my code from GetNext

catch(Exception ex)
{
throw (new Exception("This is my custom error"));
}

The pipeline component does show up in the Application Event Log.  After the 
event log message there is an adapter event log message of:
Error in accessing the part data or one of its fragments. The part or 
fragment may not exist in the database.

When I look at the suspended message in HAT it has the adapter error message 
description instead of my custom error.  Is there a way to get my custom 
error to show in the suspended message?

Thanks,
Mike
date: Wed, 16 Nov 2005 14:14:04 -0700   author:   Mike Koerner am

RE: BTS2004 Throwing Pipeline Component Errors   
{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi Mark,
\par 
\par "Error in accessing the part data or one of its fragments. The part or fragment may not exist in the database."
\par 
\par Maybe the error isn't related to the exception you throw. I usually saw it in some cases like schema not deployed properly in GAC or namespaces mismatching.
\par 
\par I'd suggest you use pipeline.exe to execute the pipeline and set breakpoints in VS.net to debug the pipeline component to check the details:
\par 
\par Pipeline.exe
\par http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdk/htm/ebiz_sdk_utils_pipeline_ackm.asp
\par 
\par Note: to get rid of symbol mismatching issue, a trick here is copying your .pdb file in the same directory of your pipeline dll i.e: biztalk's Pipeline Components folder.
\par 
\par Best regards,
\par 
\par WenJun Zhang
\par Microsoft Online Partner Support
\par 
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par 
\par }
date: Thu, 17 Nov 2005 09:20:06 GMT   author:   (WenJun Zhang[msft])

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us