06-07-2021, 02:19 PM
Dear all, I got errors while trying to "Solve" the DemoS_012 in the Run Manager window.
In the log file, the errors say:
• The type does not match
• Unable to access file, because it is used by another process
• UNABLE TO IDENTIFY GDX SCHEMA
Here is the detail (some parts are in French, but I just translated above)
Thank you very much in advance for your help!
gwbataille
--------------------------------------------------------
Name : Veda.Common.KanLogger {1.233.1.1}
Time : 2021-06-10 10:20:45.8274
Type : ERROR
StackTrace : Le type ne correspond pas. (Exception de HRESULT : 0x80020005 (DISP_E_TYPEMISMATCH)) ExecutionContext.RunInternal => Control.InvokeMarshaledCallbackHelper => Control.InvokeMarshaledCallbackDo
Message : System.Runtime.InteropServices.COMException (0x80020005): Le type ne correspond pas. (Exception de HRESULT : 0x80020005 (DISP_E_TYPEMISMATCH))
a Microsoft.Office.Interop.Excel.Workbooks.Open(String Filename, Object UpdateLinks, Object ReadOnly, Object Format, Object Password, Object WriteResPassword, Object IgnoreReadOnlyRecommended, Object Origin, Object Delimiter, Object Editable, Object Notify, Object Converter, Object AddToMru, Object Local, Object CorruptLoad)
a Veda.ExcelOperations.MsInteropController.OpenWorkBook(Application app, String absFilePath, Boolean readOnly) dans D:\TFS\Veda2.0\Veda\Veda.ExcelOperations\MSInteropController.cs:ligne 96
a Veda.ExcelOperations.MsInteropController.ShowWorkbook(OpenExcelFileFromPivotDto excelDataInfo) dans D:\TFS\Veda2.0\Veda\Veda.ExcelOperations\MSInteropController.cs:ligne 69
a Veda.FrontEnd.MasterForm.MasterFormPresenter.d__64.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.FrontEnd\MasterForm\MasterFormPresenter.cs:ligne 693
--------------------------------------------------------
Name : Veda.Common.KanLogger {1.233.1.1}
Time : 2021-06-10 11:08:48.8031
Type : ERROR
StackTrace : Le processus ne peut pas accéder au fichier 'C:\VEDA\Veda\Veda_models\Demo_models\DemoS_012\Sets-DemoModels.xlsx', car il est en cours d'utilisation par un autre processus. Task.InnerInvokeWithArg => <>c__DisplayClass42_0`2.b__1 => <>c__DisplayClass11_0.b__4
Message : System.IO.IOException: Le processus ne peut pas accéder au fichier 'C:\VEDA\Veda\Veda_models\Demo_models\DemoS_012\Sets-DemoModels.xlsx', car il est en cours d'utilisation par un autre processus.
a System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
a System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
a System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
a Veda.ExcelOperations.KanorsExcelDataController.SetDataOfVedaTags(String absFilePath, Dictionary`2 allTagsOfOneWorkBook) dans D:\TFS\Veda2.0\Veda\Veda.ExcelOperations\KanorsExcelDataController.cs:ligne 24
a Veda.FrontEnd.SyncController.ExcelReadingFramework.ProcessExcelReadingOfOneScenarioFile.ReadData() dans D:\TFS\Veda2.0\Veda\Veda.FrontEnd\SyncController\ExcelReadingFramework\ProcessExcelReadingOfOneScenarioFile.cs:ligne 199
a Veda.FrontEnd.SyncController.ExcelReadingFramework.ReadingExcelFile.<>c__DisplayClass11_0.b__4(ProcessExcelReadingOfOneScenarioFile processOneSingleScenarioFile, ParallelLoopState loopState, Object obj) dans D:\TFS\Veda2.0\Veda\Veda.FrontEnd\SyncController\ExcelReadingFramework\ReadingExcelFile.cs:ligne 221
--------------------------------------------------------
Name : Veda.Common.KanLogger {1.233.1.1}
Time : 2021-06-10 11:47:42.7044
Type : ERROR
StackTrace : P0001: GDX Schema - ExecutionContext.Run => ExecutionContext.RunInternal => d__18.MoveNext
Message : Npgsql.PostgresException (0x80004005): P0001: GDX Schema -
a Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<g__ReadMessageLong|0>d.MoveNext()
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<g__ReadMessageLong|0>d.MoveNext()
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Npgsql.NpgsqlDataReader.<>c__DisplayClass41_0.<g__ReadMessageSequential|0>d.MoveNext()
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a Npgsql.NpgsqlDataReader.d__44.MoveNext()
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Npgsql.NpgsqlDataReader.NextResult()
a Npgsql.NpgsqlCommand.d__102.MoveNext()
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
a System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
a System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
a System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
a Veda.Repository.PostgreSqlDbContext.d__30.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.Repository\PostgreSqlDBContext.cs:ligne 162
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Veda.Repository.PostgreSqlDbContext.d__29.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.Repository\PostgreSqlDBContext.cs:ligne 129
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Veda.Repository.PostgreSqlDbContext.d__22.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.Repository\PostgreSqlDBContext.cs:ligne 63
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Veda.Repository.FrontEndForm.FrontEndRepository.d__30.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.Repository\FrontEndForm\FrontEndRepository.cs:ligne 434
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Veda.FrontEnd.ExtraGridViewPresenter.d__18.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.FrontEnd\ExtraGridViewPresenter.cs:ligne 182
Exception data:
Severity: ERROR
SqlState: P0001
MessageText: GDX Schema -
Hint: UNABLE TO IDENTIFY GDX SCHEMA
Where: PL/pgSQL function veda_front_end.usp_jacobian_analysis_processing(character varying,character varying,character varying) line 31 at RAISE
File: pl_exec.c
Line: 3337
Routine: exec_stmt_raise
In the log file, the errors say:
• The type does not match
• Unable to access file, because it is used by another process
• UNABLE TO IDENTIFY GDX SCHEMA
Here is the detail (some parts are in French, but I just translated above)
Thank you very much in advance for your help!
gwbataille
--------------------------------------------------------
Name : Veda.Common.KanLogger {1.233.1.1}
Time : 2021-06-10 10:20:45.8274
Type : ERROR
StackTrace : Le type ne correspond pas. (Exception de HRESULT : 0x80020005 (DISP_E_TYPEMISMATCH)) ExecutionContext.RunInternal => Control.InvokeMarshaledCallbackHelper => Control.InvokeMarshaledCallbackDo
Message : System.Runtime.InteropServices.COMException (0x80020005): Le type ne correspond pas. (Exception de HRESULT : 0x80020005 (DISP_E_TYPEMISMATCH))
a Microsoft.Office.Interop.Excel.Workbooks.Open(String Filename, Object UpdateLinks, Object ReadOnly, Object Format, Object Password, Object WriteResPassword, Object IgnoreReadOnlyRecommended, Object Origin, Object Delimiter, Object Editable, Object Notify, Object Converter, Object AddToMru, Object Local, Object CorruptLoad)
a Veda.ExcelOperations.MsInteropController.OpenWorkBook(Application app, String absFilePath, Boolean readOnly) dans D:\TFS\Veda2.0\Veda\Veda.ExcelOperations\MSInteropController.cs:ligne 96
a Veda.ExcelOperations.MsInteropController.ShowWorkbook(OpenExcelFileFromPivotDto excelDataInfo) dans D:\TFS\Veda2.0\Veda\Veda.ExcelOperations\MSInteropController.cs:ligne 69
a Veda.FrontEnd.MasterForm.MasterFormPresenter.
--------------------------------------------------------
Name : Veda.Common.KanLogger {1.233.1.1}
Time : 2021-06-10 11:08:48.8031
Type : ERROR
StackTrace : Le processus ne peut pas accéder au fichier 'C:\VEDA\Veda\Veda_models\Demo_models\DemoS_012\Sets-DemoModels.xlsx', car il est en cours d'utilisation par un autre processus. Task.InnerInvokeWithArg => <>c__DisplayClass42_0`2.
Message : System.IO.IOException: Le processus ne peut pas accéder au fichier 'C:\VEDA\Veda\Veda_models\Demo_models\DemoS_012\Sets-DemoModels.xlsx', car il est en cours d'utilisation par un autre processus.
a System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
a System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
a System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
a Veda.ExcelOperations.KanorsExcelDataController.SetDataOfVedaTags(String absFilePath, Dictionary`2 allTagsOfOneWorkBook) dans D:\TFS\Veda2.0\Veda\Veda.ExcelOperations\KanorsExcelDataController.cs:ligne 24
a Veda.FrontEnd.SyncController.ExcelReadingFramework.ProcessExcelReadingOfOneScenarioFile.ReadData() dans D:\TFS\Veda2.0\Veda\Veda.FrontEnd\SyncController\ExcelReadingFramework\ProcessExcelReadingOfOneScenarioFile.cs:ligne 199
a Veda.FrontEnd.SyncController.ExcelReadingFramework.ReadingExcelFile.<>c__DisplayClass11_0.
--------------------------------------------------------
Name : Veda.Common.KanLogger {1.233.1.1}
Time : 2021-06-10 11:47:42.7044
Type : ERROR
StackTrace : P0001: GDX Schema -
Message : Npgsql.PostgresException (0x80004005): P0001: GDX Schema -
a Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Npgsql.NpgsqlDataReader.<>c__DisplayClass41_0.<
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a Npgsql.NpgsqlDataReader.
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Npgsql.NpgsqlDataReader.NextResult()
a Npgsql.NpgsqlCommand.
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
a System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
a System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
a System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
a Veda.Repository.PostgreSqlDbContext.
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Veda.Repository.PostgreSqlDbContext.
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Veda.Repository.PostgreSqlDbContext.
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Veda.Repository.FrontEndForm.FrontEndRepository.
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
a Veda.FrontEnd.ExtraGridViewPresenter.
Exception data:
Severity: ERROR
SqlState: P0001
MessageText: GDX Schema -
Hint: UNABLE TO IDENTIFY GDX SCHEMA
Where: PL/pgSQL function veda_front_end.usp_jacobian_analysis_processing(character varying,character varying,character varying) line 31 at RAISE
File: pl_exec.c
Line: 3337
Routine: exec_stmt_raise