Typed Datasets created with VistaDB 5 and earlier may fail to open in VistaDB 6. This is because the Typed DataSet definition includes old connection information in its Xml. To fix this:
A corrected example of a data set Xsd will have a connection like the following:
<?xml version="1.0" encoding="utf-8"?> <xs:schema id="TheEverythingDataSet" targetNamespace="http://tempuri.org/TheEverythingDataSet.xsd" xmlns:mstns="http://tempuri.org/TheEverythingDataSet.xsd" xmlns="http://tempuri.org/TheEverythingDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified"> <xs:annotation> <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource"> <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> <Connections> <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.VistaDB_Sample_App.Properties.Settings.GlobalReference.Default.ConnectionString" Provider="System.Data.VistaDB6" /> </Connections> </DataSource> </xs:appinfo> </xs:annotation> </xs:schema>