Error 0xc0c01b28 receiving message
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Error 0xc0c01b28 receiving message




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Error 0xc0c01b28 receiving message  
PjV


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-10-05 12:50 PM

We have an orchestration that should start when a message is received on a
FILE transport.
The type of the message is a class from a referenced C# assembly.

When we generate an instance of the class and serialize it to the FILE
location the message is picked up and suspended directly, with this error
description:
Error in accessing the part data or one of its fragments. The part or
fragment may not exist in the database.

For testing we have removed all attributes from the c# class (XmlElement
etc.), but the error remains.

What are we doing wrong?


Peter







[ Post a follow-up to this message ]



    Re: Error 0xc0c01b28 receiving message  
Jeff Lynch


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-10-05 10:59 PM

Try serializing to a different directory and then copying the file to the
receive location manually. If BizTalk processes the "file" without error
when copied manually then it may be that the FILE receive adapter is
attempting to pick up the file before your C# class has finished writing it.
If this is the case, look at submitting your "message" directly from your C#
application. A good example exists in the BTS2004 SDK under "SubmitDirect".

--
Jeff Lynch
"Ramblings From A Connected Universe"
http://codebetter.com/blogs/jeff.lynch


"PjV" <newsuser@vervoorn.com> wrote in message
news:4373112d$0$11075$e4fe514c@news.xs4all.nl...
> We have an orchestration that should start when a message is received on a
> FILE transport.
> The type of the message is a class from a referenced C# assembly.
>
> When we generate an instance of the class and serialize it to the FILE
> location the message is picked up and suspended directly, with this error
> description:
> Error in accessing the part data or one of its fragments. The part or
> fragment may not exist in the database.
>
> For testing we have removed all attributes from the c# class (XmlElement
> etc.), but the error remains.
>
> What are we doing wrong?
>
>
> Peter
>







[ Post a follow-up to this message ]



    Re: Error 0xc0c01b28 receiving message  
PjV


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-10-05 10:59 PM

Hi Jeff,

We have tried this and it didn't solve the problem.

The class has been marked with an attribute:
[XmlRoot(Namespace="http://acme.com/schemas", ElementName="MyRootElement
")]
public class SomeClass
{//etc...

Shouldn't biztalk recognize the following Xml as a message of above type?
<?xml version="1.0"?>
<MyRootElement xsd:xmlns="..." xsi:xmlns="..."
xmlns="http://acme.com/schemas">
<etc...

The Xml file is created by serializing an object of type SomeClass.


Thanks,

Peter

"Jeff Lynch" <jeff.lynch@newsgroup.nospam> wrote in message
news:%23Q0se1g5FHA.4076@tk2msftngp13.phx.gbl...
> Try serializing to a different directory and then copying the file to the
> receive location manually. If BizTalk processes the "file" without error
> when copied manually then it may be that the FILE receive adapter is
> attempting to pick up the file before your C# class has finished writing
> it. If this is the case, look at submitting your "message" directly from
> your C# application. A good example exists in the BTS2004 SDK under
> "SubmitDirect".
>
> --
> Jeff Lynch
> "Ramblings From A Connected Universe"
> http://codebetter.com/blogs/jeff.lynch







[ Post a follow-up to this message ]



    Re: Error 0xc0c01b28 receiving message  
Jeff Lynch


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-10-05 10:59 PM

I should have started with the most obvious questions. What version of
BizTalk Server are you using? If BTS2004 (I hope) what type of receive
pipeline are you using? If you're using the PassThru pipeline you don't need
an inbound schema. If not, you should create a BizTalk schema which parses
your inbound xml instance.

--
Jeff Lynch
"Ramblings From A Connected Universe"
http://codebetter.com/blogs/jeff.lynch


"PjV" <newsuser@vervoorn.com> wrote in message
news:43739948$0$11073$e4fe514c@news.xs4all.nl...
> Hi Jeff,
>
> We have tried this and it didn't solve the problem.
>
> The class has been marked with an attribute:
> [XmlRoot(Namespace="http://acme.com/schemas",
> ElementName="MyRootElement")]
> public class SomeClass
> {//etc...
>
> Shouldn't biztalk recognize the following Xml as a message of above type?
> <?xml version="1.0"?>
> <MyRootElement xsd:xmlns="..." xsi:xmlns="..."
> xmlns="http://acme.com/schemas">
> <etc...
>
> The Xml file is created by serializing an object of type SomeClass.
>
>
> Thanks,
>
> Peter
>
> "Jeff Lynch" <jeff.lynch@newsgroup.nospam> wrote in message
> news:%23Q0se1g5FHA.4076@tk2msftngp13.phx.gbl... 
>
>







[ Post a follow-up to this message ]



    Re: Error 0xc0c01b28 receiving message  
PjV


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-10-05 10:59 PM

Hi Jeff,

It is bts 2004.
I think we use a Xml receive pipeline, but I'm not sure and also not at the
office now.
When I return (monday) I will verify this.

Regards,

Peter

"Jeff Lynch" <jeff.lynch@newsgroup.nospam> wrote in message
news:eEhGOij5FHA.3876@TK2MSFTNGP09.phx.gbl...
>I should have started with the most obvious questions. What version of
>BizTalk Server are you using? If BTS2004 (I hope) what type of receive
>pipeline are you using? If you're using the PassThru pipeline you don't
>need an inbound schema. If not, you should create a BizTalk schema which
>parses your inbound xml instance.
>
> --
> Jeff Lynch
> "Ramblings From A Connected Universe"
> http://codebetter.com/blogs/jeff.lynch







[ Post a follow-up to this message ]



    RE: Error 0xc0c01b28 receiving message  
Lakshmi Murthy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-11-05 07:52 AM

From your question i understand that your message may not be XML file.
Incase, it is a non-xml file, you will need to use XML Passthru pipeline.

Passthru pipeline does not require inbound schema as mentioned by Jeff
Lynch. But you will need to code to read the data inside the orchestration.
Passthru pipeline is generally used to pass non-xml data between application
s
thru biztalk.

Hope this helps
Lakshmi


"PjV" wrote:

> We have an orchestration that should start when a message is received on a
> FILE transport.
> The type of the message is a class from a referenced C# assembly.
>
> When we generate an instance of the class and serialize it to the FILE
> location the message is picked up and suspended directly, with this error
> description:
> Error in accessing the part data or one of its fragments. The part or
> fragment may not exist in the database.
>
> For testing we have removed all attributes from the c# class (XmlElement
> etc.), but the error remains.
>
> What are we doing wrong?
>
>
> Peter
>
>
>





[ Post a follow-up to this message ]



    Re: Error 0xc0c01b28 receiving message  
PjV


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-14-05 10:53 PM

It is version 2004, and we are using the Xml Receive pipeline.

We have created a simple test orchestration where the activation message is
also defined as a c# class from a referenced assembly and that one works
without flaws.
Now we just have to find out what is different from our original code.

Peter

"Jeff Lynch" <jeff.lynch@newsgroup.nospam> wrote in message
news:eEhGOij5FHA.3876@TK2MSFTNGP09.phx.gbl...
>I should have started with the most obvious questions. What version of
>BizTalk Server are you using? If BTS2004 (I hope) what type of receive
>pipeline are you using? If you're using the PassThru pipeline you don't
>need an inbound schema. If not, you should create a BizTalk schema which
>parses your inbound xml instance.
>
> --
> Jeff Lynch
> "Ramblings From A Connected Universe"
> http://codebetter.com/blogs/jeff.lynch







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:42 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register