Dear all,
I have a dataset a_DataSet.xsd and being having it for long time (> 1
year) and being editing it. Suddenly, the designer can not be loaded
today. I
tried to open the older versions of my code (saved complete project
directory in
fileserver) which was able opened the xsd file without problem before
today,
none of the version can be opened now, all give the same error.
Appreciate any help.
The error output is as follows:
The 'http://www.w3.org/2001/XMLSchema:element'
element is not sup****ted in
this context.
at System.Xml.Schema.XmlSchema.Read(XmlReader reader,
ValidationEventHandler
validationEventHandler)
at System.Data.DataSet.ReadXSDSchema(XmlReader reader, Boolean
denyResolving)
at System.Data.DataSet.ReadXmlSchema(XmlReader reader, Boolean
denyResolving)
at System.Data.DataSet.ReadXmlSchema(XmlReader reader)
at
Microsoft.VSDesigner.DataSource.DesignDataSource.ReadXmlSchema(DataSourceXmlTextReader
xmlReader)
at
Microsoft.VSDesigner.DataSource.DesignDataSource.ReadXmlSchema(TextReader
textReader)
at
Microsoft.VSDesigner.DataSource.Designer.DataSourceSerializationService.DeserializeToDataSource(String
filePath, Object serializationData)
at
Microsoft.VSDesigner.DataSource.ProjectDataSourceDescriptor.LoadDataSource()
at
Microsoft.VSDesigner.DataSource.ProjectDataSourceDescriptor.Init(IServiceProvider
provider, IV****erarchy primaryHierarchy, UInt32 primaryItemId, Object
primaryDocDataObject, UInt32 docCookie, IVsInvisibleEditor
invisibleEditor,
IDesignerHost host)
at
Microsoft.VSDesigner.DataSource.ProjectDataSourceStorage.EnsureInvisibleEditor(ProjectItem
dsProjectItem, Boolean ensureWritable, Boolean createInvisibleEditor)
at
Microsoft.VSDesigner.DataSource.ProjectDataSourceStorage.GetDataSourceInternal(Object
caller, ProjectItem dsProjectItem, Boolean ensureWritable, Boolean
createInvisibleEditor)
at
Microsoft.VSDesigner.DataSource.Designer.DataSourceDesignerLoader.HandleLoad(IDesignerSerializationManager
serializationManager)


|