Bug Report T299991
Visible to All Users

Report DataSource Wizard throws an exception on selecting a MySQL stored procedure with the LONGBLOB parameter

created 9 years ago (modified 9 years ago)

[DevExpress Support Team: CLONED FROM T295901: Report DataSource Wizard throws the InvalidCastException on an attempt to connect to the MySQL database]
Please see the callstack provided:

C#
DevExpress.Data.v15.1.dll!DevExpress.Xpo.DB.ConnectionProviderSql.GetColumnType(System.Data.DbType type, bool supressExceptionOnUnknown) Unknown DevExpress.DataAccess.v15.1.dll!DevExpress.DataAccess.Native.Sql.ConnectionProviders.ConnectionProviderHelper.GetStoredProcedureArgumentsFromCommand(System.Data.IDbCommand command) Unknown DevExpress.DataAccess.v15.1.dll!DevExpress.DataAccess.Native.Sql.ConnectionProviders.DataAccessMySqlConnectionProvider.DevExpress.DataAccess.Native.Sql.ConnectionProviders.ISupportStoredProc.GetStoredProcedures(string[] procedureNames) Unknown DevExpress.DataAccess.v15.1.dll!DevExpress.DataAccess.Sql.SqlDataConnection.GetStoredProceduresSchema(DevExpress.Xpo.DB.IDataStoreSchemaExplorer schemaExplorer) Unknown DevExpress.DataAccess.v15.1.dll!DevExpress.DataAccess.Sql.SqlDataConnection.GetDBSchema(bool loadColumns) Unknown DevExpress.DataAccess.v15.1.dll!DevExpress.DataAccess.Native.Sql.DBSchemaProvider.GetSchema(DevExpress.DataAccess.Sql.SqlDataConnection connection) Unknown DevExpress.DataAccess.v15.1.dll!DevExpress.DataAccess.Wizard.UIDataLoader.LoadSchema.AnonymousMethod__1() Unknown > mscorlib.dll!System.Threading.Tasks.Task<DevExpress.DataAccess.Sql.DBSchema>.InnerInvoke() Line 686 C# mscorlib.dll!System.Threading.Tasks.Task.Execute() Line 2523 C# mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 581 C# mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 530 C# mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) Line 2848 C# mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) Line 2781 C# mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() Line 830 C#

Answers approved by DevExpress Support

created 9 years ago

We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.