TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Microsoft BizTalk Server

Notices

Propertyschema won't build

Microsoft BizTalk Server


Reply
 
Thread Tools Display Modes
Old 08-12-2007, 01:35 AM   #1
isabelledc
Guest
 
Posts: n/a
Propertyschema won't build

I'm creating my own propertyschema ,
add new item property-schema - rename property1 ...
very basic...


But it won't build ...i get the following error

Node "AC-Division-AIA" - Specify a valid .NET type name for this root node.
The current .NET type name of this root node is invalid (it is a reserved
BizTalk Keyword or is an invalid C# identifier).

Don't know where to look quite honestly.....i've checked every property (I
think)

I created a property schema before that actually worked...to bad they
deleted my
first lab-environment , that's where it was

What am I doing wrong and/or forgetting?

Isabelle
  Reply With Quote
Old 08-12-2007, 01:35 AM   #2
isabelledc
Guest
 
Posts: n/a
RE: Propertyschema won't build

It can't be......it does work if i remove the -'s from the field-element name

AC-Division-AIA doesn't work
ACDivisionAIA does work

What other limitations are there???
Can't believe it but i have to...

Isabelle

"isabelledc" wrote:

> I'm creating my own propertyschema ,
> add new item property-schema - rename property1 ...
> very basic...
>
>
> But it won't build ...i get the following error
>
> Node "AC-Division-AIA" - Specify a valid .NET type name for this root node.
> The current .NET type name of this root node is invalid (it is a reserved
> BizTalk Keyword or is an invalid C# identifier).
>
> Don't know where to look quite honestly.....i've checked every property (I
> think)
>
> I created a property schema before that actually worked...to bad they
> deleted my
> first lab-environment , that's where it was
>
> What am I doing wrong and/or forgetting?
>
> Isabelle

  Reply With Quote
Old 08-12-2007, 05:30 AM   #3
Jan Eliasen
Guest
 
Posts: n/a
Re: Propertyschema won't build

On Fri, 7 Dec 2007 06:01:00 -0800, isabelledc
<> wrote:

>It can't be......it does work if i remove the -'s from the field-element name
>
>AC-Division-AIA doesn't work
>ACDivisionAIA does work
>
>What other limitations are there???
>Can't believe it but i have to...

You don't have to... The .NET typename (found in the properties of the
..xsd) can not contain a -

This is a limitation of .NET, since the dash is reserved.

You can name your element what you want to, including dashes. But then
just rename the .NET typename to something else... like without the
dashes.

--
eliasen, representing himself and not the company he works for.

Private blog:

Private email:
  Reply With Quote
Old 11-12-2007, 03:15 PM   #4
isabelledc
Guest
 
Posts: n/a
Re: Propertyschema won't build

Thanks...tried it so I know what you mean...
on each node i would have to change the Rootnode Typename property so it
holds no dashes....this works....

but i'll just use no dashes in the nodenames as well , that way i don't have
to change properties which i'll certainly forget to change sooner or later...
keep it simple if you can that's my motto....

it just takes me a while to know what i can and can't do in this new
environment....


"Jan Eliasen" wrote:

> On Fri, 7 Dec 2007 06:01:00 -0800, isabelledc
> <> wrote:
>
> >It can't be......it does work if i remove the -'s from the field-element name
> >
> >AC-Division-AIA doesn't work
> >ACDivisionAIA does work
> >
> >What other limitations are there???
> >Can't believe it but i have to...

> You don't have to... The .NET typename (found in the properties of the
> ..xsd) can not contain a -
>
> This is a limitation of .NET, since the dash is reserved.
>
> You can name your element what you want to, including dashes. But then
> just rename the .NET typename to something else... like without the
> dashes.
>
> --
> eliasen, representing himself and not the company he works for.
>
> Private blog:
>
> Private email:
>

  Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 04:11 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional