If receive error attempting to run QBI


#1

The main cause of an error occurring when QBI is attempted to be run is usuallydue to the installation and configuration steps not having been completed correctly.

For your own convienence and quick setup so that you can start working right away, do always re-reviewthe installation and configuration steps provided in the documentation.

1. If you receive a message similar to below Application has generated an exception that could not be handled dir=ltr " ">

This may be occurring because the vesion of the AyaNova program installed is an older version than that of the QBI program.

The error above occurred when AyaNova v3.1.7 was installed, but the AyaNova user was attempting to run QBI v3.2.4

Always confirm you are running the latest version of AyaNova before installing the latest version of any optional add-ons.

[FORUM NOTE: with AyaNova 5, the above issue will no longer occur because QBI is actually installed along with AyaNova 5, and QBI is now run from within AyaNova 5 instead as a separate program]

2. If you receive a Microsoft.NET Framework error Exception has been thrown by the target of the invocation

dir=ltr " ">

If ever you see a message like this, always click on the Details button so that you can see what the error is actually caused by:

In this case, clicking on the Details button reveils the message that begins with:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> FirebirdSql.Data.Firebird.FbException: I/O error for file CreateFile (open) “AYANOVA.FDB”
Error while trying to open file
at FirebirdSql.Data.Firebird.FbConnectionInternal.Connect()
at FirebirdSql.Data.Firebird.FbConnectionPool.Create()
at FirebirdSql.Data.Firebird.FbConnectionPool.CheckOut()
at FirebirdSql.Data.Firebird.FbConnection.Open()
at GZTW.Data.GZTWDatabase.OpenConnection()

Note the section of the error that says I/O error for file CreateFile (open) “AYANOVA.FDB”

This error occurs because you are attempting to run both the AyaNova and the QBI program at the same time, but have AyaNova configured for stand-alone default use.

Stand-alone default use is the default configuration after installation. Only one access to the database can be allowed in this configuration - you can only run the AyaNova program at one time, or the QBI program at one time, you can not run both programs at the same time. If you want to be able to run QBI at the same time the AyaNova program is running, you must configure AyaNova for network use. Refer to the AyaNova v3 Manual section “Additional Installation & Configuration” for details.

[FORUM NOTE: The above issue will no longer occurs with AyaNova 5 as QBI is now run from “within” the AyaNova program. And stand-alone configurations of AyaNova 5 can now run QBI 5 at the same time while AyaNova is running.]

3. If you receive a Microsoft.NET Framework error Exception has been thrown by the target of the invocation

dir=ltr " ">

If ever you see a message like this, always clic