Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Error while reading schema into dataset. dataset.readxmlschema


Message #1 by "Rohit Arora" <rohit_arora@i...> on Fri, 31 Jan 2003 18:28:50 +0530
hi group,

	I am unable to read schema from schema file(xsd)into dataset. It gives the
following error.
-----------
The same table (ContactPerson_sentTo_REL) cannot be the child table in two
nested relations.
System.Data
-----------

Regards
Rohit Arora
Intersolutions (P) Ltd
B - 21, Sector 58,
Noida - 201301
Tel : 91-2585703/04/05 Extn: 229

Message #2 by "Alessandro Facchini" <alfacchini@l...> on Sat, 1 Feb 2003 00:08:12 +0100
Hi,

I had the same problem: it's very simple. When you have a table that is the
table that permits a many to many relationship(ex TitleAuthor), you can't
represent this situation with nested relationship. One of the two tables
(for ex. Authors) has to be related with a non nested relationship; so you
have a problem to make a xPath Query.

----root -----Publishers ----Titles----TitleAutor
             |-----Authors


Alessandro Facchini
Italy




----- Original Message -----
From: "Rohit Arora" <rohit_arora@i...>
To: "ASP.NET" <aspx@p...>
Sent: Friday, January 31, 2003 1:58 PM
Subject: [aspx] Error while reading schema into dataset.
dataset.readxmlschema


> hi group,
>
> I am unable to read schema from schema file(xsd)into dataset. It gives the
> following error.
> -----------
> The same table (ContactPerson_sentTo_REL) cannot be the child table in two
> nested relations.
> System.Data
> -----------
>
> Regards
> Rohit Arora
> Intersolutions (P) Ltd
> B - 21, Sector 58,
> Noida - 201301
> Tel : 91-2585703/04/05 Extn: 229
>
>



  Return to Index