2uzhan.com
Advertisement
Now Place:2uzhan.com » Occur load the dataset error after uninstalling MySQL Tools for Visual Studio

Occur load the dataset error after uninstalling MySQL Tools for Visual Studio

MySQL @ August 12, 2007   Views:0

First of all, let's me show the installation steps first:
VS.2005 -> MySql .net connector5.1.2 -> VS.net SP 1 -> MySql Tools for Visual Studio 1.0.2

At this point, the problem is occurred, VS show the empty table/SP list within the TableAdapter Configuration Wizard with a created TableAdapter (MySql) in the dataset designer, it can show them before I install MySql Tools for Visual Studio.

After that, I tried to uninstall the MySql Tools for Visual Studio, a more terrible problem occurred, VS show "cannot load the dataset" error message, and I cannot build my application, even cannot open the dataset I created before...

when I open the dataset, VS show the following error message:

Unable to find the requested .Net Framework Data Provider. It may not be installed.
Hide

at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
at Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetConnectionProperties..ctor(String providerName, String connectionString)
at Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetConnectionProperties..ctor(String providerName)
at MySql.Data.VisualStudio.MySqlProviderObjectFactory.CreateObject(Type objType)
at Microsoft.VisualStudio.DataTools.DataServices.DataProvider.CreateObject(Guid dataSource, Type objType)
at Microsoft.VSDesigner.Data.ConnectionString..ctor(String providerName, String connectionString)
at Microsoft.VSDesigner.DataSource.DesignConnection.Microsoft.VSDesigner.DataSource.IDataSourceInitAfterLoading.InitializeAfterLoading()
at Microsoft.VSDesigner.DataSource.DataSourceXmlSerializer.InitializeObjects()
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, IVsHierarchy 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)

Please tell me any possible method to repair this problem, except uninstall all the VS things and uninstall again :) Because it is urgent...(in 1 man developement team :( ) Inaddition, I tried to uninstall and reinstall the MySql .net connector5.1.2, but the problem still exists.

Regards,
Peter

Edited 2 time(s). Last edit at 08/13/2007 04:08AM by Lee Peter.

--------------Solutions-------------

Tags:
© 2018 2uzhan.com Contact