Error generating Node Output from MDB file

Issue #59 new
Former user created an issue

The MODSIM model is running successfully but some of the output cannot be viewed at some nodes. The following is the list of error messages that continues to be output.

ERROR: System.Data.OleDb.OleDbException: The Microsoft Access database engine cannot open or write to the file ''. It is already opened exclusively by another user, or you need permission to view and write its data. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at Csu.Modsim.NetworkUtils.ModelOutputMSDB.PopulateDBFromCSV() FAILED TO LOAD CSV FILES FOR LinksOutput

ERROR: System.Data.OleDb.OleDbException: The Microsoft Access database engine cannot open or write to the file ''. It is already opened exclusively by another user, or you need permission to view and write its data. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at Csu.Modsim.NetworkUtils.ModelOutputMSDB.PopulateDBFromCSV() FAILED TO LOAD CSV FILES FOR NON_STOROutput

ERROR: System.Data.OleDb.OleDbException: The Microsoft Access database engine cannot open or write to the file ''. It is already opened exclusively by another user, or you need permission to view and write its data. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at Csu.Modsim.NetworkUtils.ModelOutputMSDB.PopulateDBFromCSV() FAILED TO LOAD CSV FILES FOR OutputTablesInfo

ERROR: System.Data.OleDb.OleDbException: The Microsoft Access database engine cannot open or write to the file ''. It is already opened exclusively by another user, or you need permission to view and write its data. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at Csu.Modsim.NetworkUtils.ModelOutputMSDB.PopulateDBFromCSV() Successful completion of program MODSIM. Releasing model resources... Done (elapsed: 1.350 min) Done Error generating Node Output from MDB file Error generating Node Output from MDB file Error generating Node Output from MDB file Object reference not set to an instance of an object. Object reference not set to an instance of an object. Object reference not set to an instance of an object.

Comments (2)

  1. Enrique T

    It sounds like you got an output file to be created before. Based on "... It is already opened exclusively by another user ...", my guess is that the previous output files was open and locked. Try closing the output file or a program that might lock the mdb output file, and solve the network again.

  2. Evangelos Rozos

    I am experiencing this bug too. I am running MODSIM 8.5.1 64-bit on a Windows 10 machine. I have installed AccessDatabaseEngine_X64.exe.

    A workaround is to run this app under Windows Vista compatibility mode.

    P.S.

    Nice app, thanks!

  3. Log in to comment