Click here to Skip to main content
15,902,492 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When trying add MYSQL dataset to RDLC reports VS is getting closed by itself.

Please help me out on this...
Posted
Comments
Kornfeld Eliyahu Peter 21-May-14 4:16am    
What the error is?
Arun Kumar Ponnusamy 21-May-14 4:47am    
I am not getting any error. just when i add dataset to the report, visual studio is getting closed/crashed.
Kornfeld Eliyahu Peter 21-May-14 4:49am    
Look into your machine's event log...
Arun Kumar Ponnusamy 21-May-14 5:02am    
Thanks for the info...

Here is the eventviewer description


Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException Stack: at System.Data.Common.UnsafeNativeMethods.SQLFreeStmt(System.Data.Odbc.OdbcStatementHandle, STMT) at System.Data.Odbc.OdbcStatementHandle.FreeStatement(STMT) at System.Data.Odbc.CMDWrapper.FreeStatementHandle(STMT) at System.Data.Odbc.OdbcDataReader.Close(Boolean) at System.Data.Odbc.OdbcDataReader.Dispose(Boolean) at System.Data.Common.DbDataReader.Dispose() at System.Data.Odbc.OdbcMetaDataFactory.GetTablesCollection(System.String[], System.Data.Odbc.OdbcConnection, Boolean) at System.Data.Odbc.OdbcMetaDataFactory.PrepareCollection(System.String, System.String[], System.Data.Common.DbConnection) at System.Data.ProviderBase.DbMetaDataFactory.GetSchema(System.Data.Common.DbConnection, System.String, System.String[]) at System.Data.ProviderBase.DbConnectionInternal.GetSchema(System.Data.ProviderBase.DbConnectionFactory, System.Data.ProviderBase.DbConnectionPoolGroup, System.Data.Common.DbConnection, System.String, System.String[]) at System.Data.Odbc.OdbcConnection.GetSchema(System.String, System.String[]) at Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetObjectEnumerator.EnumerateObjects(System.String, System.Object[], System.Object[], System.String, System.Object[]) at Microsoft.VisualStudio.DataTools.Providers.Odbc.OdbcDataObjectEnumerator.EnumerateObjects(System.String, System.Object[], System.Object[], System.String, System.Object[]) at Microsoft.VisualStudio.Data.Compatibility.NewObjectSelector`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SelectObjects(System.String, System.Object[], System.String[], System.Object[]) at Microsoft.VisualStudio.Data.Compatibility.NewObjectSelector`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Microsoft.VisualStudio.Data.Core.IVsDataSupportObject<microsoft.visualstudio.data.services.supportentities.ivsdataobjectselector>.Invoke(System.String, System.Object[], System.Object[]) at Microsoft.VisualStudio.Data.Package.Client.DataObjectSelector.Microsoft.VisualStudio.Data.Core.IVsDataSupportObject<microsoft.visualstudio.data.services.supportentities.ivsdataobjectselector>.Invoke(System.String, System.Object[], System.Object[]) at Microsoft.VisualStudio.Data.Package.DataObjectStore.SelectObjects(Microsoft.VisualStudio.Data.Services.IVsDataObjectType, System.Object[], System.String[]) at Microsoft.VisualStudio.Data.Package.DataObjectStore.SelectObjects(System.String, System.Object[], System.String[], System.String, System.String, Boolean) at Microsoft.VisualStudio.Data.Package.DataMappedObjectSelector.SelectMappedObjects[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String, System.Object[], Boolean) at Microsoft.VisualStudio.Data.Package.DataMappedObjectSelector.SelectMappedObjects[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Object[], Boolean) at Microsoft.VSDesigner.Data.Schema.MdsSchemaTables.EnumerateEverything() at Microsoft.VSDesigner.Data.Schema.MdsSchemaTables.GetEnumerator() at Microsoft.VSDesigner.Data.DataSourceWizard.DataObjectMappingProvider.CreateMappings(System.Collections.Generic.List`1<microsoft.vsdesigner.data.datasourcewizard.dataobjectmappinginfo>) at Microsoft.VSDesigner.Data.DataSourceWizard.DataObjectMappingProvider.RetrieveObjectMappings(Microsoft.VSDesigner.Data.DataSourceWizard.Database.DatabaseData, EnvDTE.Project) at Microsoft.VSDesigner.Data.DataSourceWizard.Database.DbObjectsControl.FillDbObjects_ThreadProc() at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at Sy

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900