experience this once again, feel free to read it. The post can be found
with it. However, obviously the BizTalk editor expects another schema and
that is the reason it reports the error on line 1. Nonetheless, no sign that
this error has been generated by BizTalk editor. Anyhow, when right clicked
""Gary Chang[MSFT]"" <v-garych@online.microsoft.com> wrote in message
news:ZRDC$ExpGHA.5464@TK2MSFTNGXA01.phx.gbl...
> Hi Geogre,
>
> Thank you posting!
>
>>I experience the following problem. I'm using Visual Studio 2005
>>Team System For Software Developers. When I try to add a
>>new DataSet to any kind of project, I cannot get to the visual
>>DataSet designer. Rather, I get the following error:
>>...
>>
>>The custom tool 'MSDataSetGenerator' failed. Unable to convert
>>input xml file content to a DataSet. Data at the root level is invalid.
>>Line 1,
>>...
>
> Do you mean whenever you add a new dataset (via 'Add | New Item...'') to
> your VS2005 project, you cannot double click it to open it in the visual
> DataSet designer; instead, you get the above error message? Please correct
> me if misunderstood anything.
>
> Based on the error message, the problem seems to be the new added
> dataset's
> xml data already corrupted. In order to isolate it, I suggest you verify
> its corresponding .xsd file's code. You can right click the target .xsd
> file in the solution explorer, then in its context menu select the 'Open
> With...' option. In the upcoming "Open With" dialog window, choose the
> "Source Code (Text) Editor" to open it and review its code.
>
> By the way, the following is an unmodified dataset's .xsd file code for
> your reference:
>
> <?xml version="1.0" encoding="utf-8" ?>
> <xs:schema id="DataSet1"
> targetNamespace="
http://tempuri.org/DataSet1.xsd" > elementFormDefault="qualified"
> attributeFormDefault="qualified"
> xmlns="
http://tempuri.org/DataSet1.xsd" > xmlns:mstns="
http://tempuri.org/DataSet1.xsd" > xmlns:xs="
http://www.w3.org/2001/XMLSchema" > xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
> <xs:element name="DataSet1" msdata:IsDataSet="true"
> msdata:UseCurrentLocale="true">
> <xs:complexType>
> <xs:choice maxOccurs="unbounded"></xs:choice>
> </xs:complexType>
> </xs:element>
> </xs:schema>
>
>
> Thanks!
>
> Best regards,
>
> Gary Chang
> Microsoft Online Community Support
> ==================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>