在SSIS中使用DSN时出错?

时间:2013-03-06 10:52:35

标签: mysql ssis dsn

无法检索连接管理器“MySQL Connector.root”的表信息。 尝试读取或写入受保护的内存。这通常表明其他内存已损坏。 (Microsoft Visual Studio)

尝试读取或写入受保护的内存。这通常表明其他内存已损坏。 (System.Data)


计划地点:

   at System.Data.Common.UnsafeNativeMethods.SQLFreeStmt(OdbcStatementHandle StatementHandle, STMT Option)
   at System.Data.Odbc.OdbcStatementHandle.FreeStatement(STMT stmt)
   at System.Data.Odbc.CMDWrapper.FreeStatementHandle(STMT stmt)
   at System.Data.Odbc.OdbcDataReader.Close(Boolean disposing)
   at System.Data.Odbc.OdbcDataReader.Dispose(Boolean disposing)
   at System.Data.Common.DbDataReader.Dispose()
   at System.Data.Odbc.OdbcMetaDataFactory.GetTablesCollection(String[] restrictions, OdbcConnection connection, Boolean isTables)
   at System.Data.Odbc.OdbcMetaDataFactory.PrepareCollection(String collectionName, String[] restrictions, DbConnection connection)
   at System.Data.ProviderBase.DbMetaDataFactory.GetSchema(DbConnection connection, String collectionName, String[] restrictions)
   at System.Data.ProviderBase.DbConnectionInternal.GetSchema(DbConnectionFactory factory, DbConnectionPoolGroup poolGroup, DbConnection outerConnection, String collectionName, String[] restrictions)
   at System.Data.Odbc.OdbcConnection.GetSchema(String collectionName, String[] restrictionValues)
   at Microsoft.DataWarehouse.Design.OdbcSchema.GetSchema(String collectionName, String[] restrictionValues)
   at Microsoft.DataWarehouse.Design.DataSourceConnection.GetSchemaTable(DataTable& dataTable, String collectionName, String[] restrictions)
   at Microsoft.DataWarehouse.Design.DataSourceConnection.ConvertGetSchema(DataTable& dataTable, Guid schemaEnum, Object[] restrictions)
   at Microsoft.DataWarehouse.Design.DataSourceConnection.GetSchemaTable(DataTable& dataTable, Guid schemaEnum, Object[] restrictions)
   at Microsoft.DataTransformationServices.Design.ComboBoxWithTables.GetTableInfos(DataSourceConnection dataSourceConnection, String connectionName)
   at Microsoft.DataTransformationServices.Design.ComboBoxWithTables.FillTableOrViewComboBox()

有什么想法可以解决这个问题?连接很好,因为测试连接显示已连接,但运行时会发生这种情况。

0 个答案:

没有答案