BizTalk Server Orchestration - BizTalk 2004 :: orchestration :: MissingPropertyException

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > July 2005 > BizTalk 2004 :: orchestration :: MissingPropertyException





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 BizTalk 2004 :: orchestration :: MissingPropertyException
BA

2005-07-06, 7:48 am

I have 3 orchestrations doing the same thing, one has this error:



Uncaught exception terminated service

There is no value associated with the property 'FILE.ReceivedFileName' in
the message.

Exception type: MissingPropertyException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: System.Object GetPropertyValueThrows(System.Type)


I cant understand why this property is missing.

I create a message "X" and copy it to "Y", I try to set "Y"'s
FILE.ReceivedFileName property and that is where this error happens. In the
other orchestrations this is working fine.

Thanks for the help,

BA


John Glisson

2005-07-06, 7:48 am

That XML instance data that fills your message schema must contain the
element or attribute that you have exposed as a property. If the
element/attribute is missing in the XML then you will not be able to access
the property and set its value.

I often have to use "dummy" data for attributes I have set as distinguished
fields or properties so that I can access them later in my orchestrations.
Otherwise, I get an error.

--
John Glisson
http://spaces.msn.com/members/jglisson73


"BA" wrote:

> I have 3 orchestrations doing the same thing, one has this error:
>
>
>
> Uncaught exception terminated service
>
> There is no value associated with the property 'FILE.ReceivedFileName' in
> the message.
>
> Exception type: MissingPropertyException
> Source: Microsoft.XLANGs.BizTalk.Engine
> Target Site: System.Object GetPropertyValueThrows(System.Type)
>
>
> I cant understand why this property is missing.
>
> I create a message "X" and copy it to "Y", I try to set "Y"'s
> FILE.ReceivedFileName property and that is where this error happens. In the
> other orchestrations this is working fine.
>
> Thanks for the help,
>
> BA
>
>
>

BA

2005-07-06, 7:48 am


Hi John, thanks.

I've written all messages out in the debug view and all the relevant fields
are there.

Furthermore, the 'FILE.ReceivedFileName' property should be independent of
the values in my orchestration, so its failing regardless of the data I feed
it.

The message does not seem to want to access the FILE properties. I also
tried to see what the specific transport type using BTS.InboundTransportType
but that failed also with the same error (for inboundTransType AND
ReceivedFileName which I found doubly odd.

I happen to have a field promoted using the BizTalk file-properties schema
but this should have no effect.

Lost on this one!

BA

"John Glisson" <JohnGlisson@discussions.microsoft.com> wrote in message
news:6CC68282-55ED-43A2-A215-E214C198715C@microsoft.com...
> That XML instance data that fills your message schema must contain the
> element or attribute that you have exposed as a property. If the
> element/attribute is missing in the XML then you will not be able to

access
> the property and set its value.
>
> I often have to use "dummy" data for attributes I have set as

distinguished[vbcol=seagreen]
> fields or properties so that I can access them later in my orchestrations.
> Otherwise, I get an error.
>
> --
> John Glisson
> http://spaces.msn.com/members/jglisson73
>
>
> "BA" wrote:
>
in[vbcol=seagreen]
the[vbcol=seagreen]


Tomas Restrepo \(MVP\)

2005-07-06, 8:47 pm

BA,

> Uncaught exception terminated service
>
> There is no value associated with the property 'FILE.ReceivedFileName' in
> the message.
>
> Exception type: MissingPropertyException
> Source: Microsoft.XLANGs.BizTalk.Engine
> Target Site: System.Object GetPropertyValueThrows(System.Type)
>
>
> I cant understand why this property is missing.
>
> I create a message "X" and copy it to "Y", I try to set "Y"'s
> FILE.ReceivedFileName property and that is where this error happens. In
> the
> other orchestrations this is working fine.


Have you tried copying the entire message context from X to Y before
changing the property value?

Y(*) = X(*);

if I remember the syntax correctly


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


BA

2005-07-07, 2:48 am

Hi Tomas,

Yes, I tried that after the bug appeared and I assumed that would solve the
problem.

It didnt work :-/

I'm still struggling with it.

Thanks,

BA


"Tomas Restrepo (MVP)" <tomasr@mvps.org> wrote in message
news:%237dl5iogFHA.2484@TK2MSFTNGP15.phx.gbl...
> BA,


>
> Have you tried copying the entire message context from X to Y before
> changing the property value?
>
> Y(*) = X(*);
>
> if I remember the syntax correctly
>
>
> --
> Tomas Restrepo
> tomasr@mvps.org
> http://www.winterdom.com/
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com