D
Djemel Guizani
Hello,
Context of the issue:
- VBA scripts runing in Microsoft Project Pro 2003
- Oracle Database 9.2 with MSP tables
- Oracle ODBC driver to connect to database.
We use the FileOpen API with MsProject.odbc flag to open project from the
Oracle database.
The users can work and the save their modification using FileSave or
FileSaveAs.
This is working using ODBC defined connection.
If a disconnection occurs while users work on project (example users using
laptops going to a meeting room) then when they come back to dockstation
(reconnecting to the network) to save, FileSave/FileSaveAs API return an
(uncatchable exception) "[Oracle][odbc][Ora]Ora-03114 Not connected to
Oracle". It seems that this API did not recreate the ODBC connection if
lost.
I try manualy to simulate that with ADODB.Connection and ADODB.Recordset and
it works. When connection is lost you recreate the connnection to retrieve
or save data in the database (SELECT or INSERT)
I've try with SP1 and SP2 of Ms Project 2003.
I've try with Microsoft ODBC for Oracle
I've try with Oracle ODBC drivers uptodate version
Still unable to save the project back to the database![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Do you know any fix or workaround for that issue.
Thank you
Djemel
Context of the issue:
- VBA scripts runing in Microsoft Project Pro 2003
- Oracle Database 9.2 with MSP tables
- Oracle ODBC driver to connect to database.
We use the FileOpen API with MsProject.odbc flag to open project from the
Oracle database.
The users can work and the save their modification using FileSave or
FileSaveAs.
This is working using ODBC defined connection.
If a disconnection occurs while users work on project (example users using
laptops going to a meeting room) then when they come back to dockstation
(reconnecting to the network) to save, FileSave/FileSaveAs API return an
(uncatchable exception) "[Oracle][odbc][Ora]Ora-03114 Not connected to
Oracle". It seems that this API did not recreate the ODBC connection if
lost.
I try manualy to simulate that with ADODB.Connection and ADODB.Recordset and
it works. When connection is lost you recreate the connnection to retrieve
or save data in the database (SELECT or INSERT)
I've try with SP1 and SP2 of Ms Project 2003.
I've try with Microsoft ODBC for Oracle
I've try with Oracle ODBC drivers uptodate version
Still unable to save the project back to the database
Do you know any fix or workaround for that issue.
Thank you
Djemel