Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums

Go Back   Vista Forums > Vista technology newsgroups > WinFS

Error AG0017? What is the problem?

Reply
 
Thread Tools Display Modes
Old 03-04-2006   #1
Jérôme Piquot
Guest
 
Posts: n/a

Error AG0017? What is the problem?

Hello,

I have this message:

Error 1
D:\KrystalFx\WinFS\Schema\Krystal.PartnerSchema\obj\Debug\Schema.xml(2,109)
: error AG0017: Alias (Krystal.PartnerSchema) is invalid. Alias cannot be
qualified. Krystal.PartnerSchema

Where is my error?

Regards

Schema.xml :
<?xml version="1.0"?>

<Schema xmlns="http://schemas.microsoft.com/winfs/2003/09/schema"

Version="0.1.0"

VersioningClass="Library"

Alias="Krystal.PartnerSchema"

Namespace="Krystal.PartnerSchema"

PublicKeyToken="51d83c98f252408e"

>


<Using Alias="Storage" Namespace="System.Storage" Version="0.1.0"
PublicKeyToken="f45b95b0f79f4fbe"/>

<Using Alias="Contacts" Namespace="System.Storage.Contacts" Version="0.1.0"
PublicKeyToken="f45b95b0f79f4fbe" />

<Using Version="0.1.0" Alias="Core" Namespace="System.Storage.Core"
PublicKeyToken="f45b95b0f79f4fbe" />

<EntityType Name="Partner" BaseType="Contacts.Organization">

<Property Name="TrustedMailDomain" Type="Storage.String" Size="64"
Nullable="false" ChangeUnit="Storage.Item.Item" />

</EntityType>

<EntityType Name="Customer" BaseType="Partner">

<Property Name="AccountNumber" Type="Storage.String" Size="64"
Nullable="false" ChangeUnit="Storage.Item.Item" />

</EntityType>

<EntityType Name="Provider" BaseType="Partner">

<Property Name="AccountNumber" Type="Storage.String" Size="64"
Nullable="false" ChangeUnit="Storage.Item.Item" />

</EntityType>

</Schema>


  Reply With Quote

Old 03-04-2006   #2
Jérôme Piquot
Guest
 
Posts: n/a

Re: Error AG0017? What is the problem?

found it!

Namespace="Krystal.PartnerSchema" does not accept the point.

so

Namespace="KPartner" works


"Jérôme Piquot" <jerome.piquot@wolff.fr> a écrit dans le message de news:
u3yAJHxMGHA.2124@TK2MSFTNGP14.phx.gbl...
> Hello,
>
> I have this message:
>
> Error 1
> D:\KrystalFx\WinFS\Schema\Krystal.PartnerSchema\obj\Debug\Schema.xml(2,109)
> : error AG0017: Alias (Krystal.PartnerSchema) is invalid. Alias cannot be
> qualified. Krystal.PartnerSchema
>
> Where is my error?
>
> Regards
>
> Schema.xml :
> <?xml version="1.0"?>
>
> <Schema xmlns="http://schemas.microsoft.com/winfs/2003/09/schema"
>
> Version="0.1.0"
>
> VersioningClass="Library"
>
> Alias="Krystal.PartnerSchema"
>
> Namespace="Krystal.PartnerSchema"
>
> PublicKeyToken="51d83c98f252408e"
>
>>

>
> <Using Alias="Storage" Namespace="System.Storage" Version="0.1.0"
> PublicKeyToken="f45b95b0f79f4fbe"/>
>
> <Using Alias="Contacts" Namespace="System.Storage.Contacts"
> Version="0.1.0" PublicKeyToken="f45b95b0f79f4fbe" />
>
> <Using Version="0.1.0" Alias="Core" Namespace="System.Storage.Core"
> PublicKeyToken="f45b95b0f79f4fbe" />
>
> <EntityType Name="Partner" BaseType="Contacts.Organization">
>
> <Property Name="TrustedMailDomain" Type="Storage.String" Size="64"
> Nullable="false" ChangeUnit="Storage.Item.Item" />
>
> </EntityType>
>
> <EntityType Name="Customer" BaseType="Partner">
>
> <Property Name="AccountNumber" Type="Storage.String" Size="64"
> Nullable="false" ChangeUnit="Storage.Item.Item" />
>
> </EntityType>
>
> <EntityType Name="Provider" BaseType="Partner">
>
> <Property Name="AccountNumber" Type="Storage.String" Size="64"
> Nullable="false" ChangeUnit="Storage.Item.Item" />
>
> </EntityType>
>
> </Schema>
>
>



  Reply With Quote
 
Reply

Thread Tools
Display Modes









Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48