AyaNova service management & work order software
AyaNova Support Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



If receive error attempting to run QBI Expand / Collapse
Author
Message
Posted 10/23/2006 8:56:32 AM
AyaNova Sales & Support

AyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & Support

Group: Administrators
Last Login: Today @ 7:20:51 AM
Posts: 1,703, Visits: 4,009
The main cause of an error occurring when QBI is attempted to be run is usually due 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-review the 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

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.

.

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

 

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.

.

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

 

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. ---> System.ApplicationException: Connection type: "" not valid in application configuration file
   at GZTW.Profile.AyaNovaConnectionSettings.GetConnectionData()
   at CSLA.Security.BusinessIdentity.DataPortal_Fetch(Object Criteria)
   --- End of inner exception stack trace ---
.....

Note the section of the error that says: Connection type: "" not valid in application configuration file

This error occurs because the AyaNovaQBI.exe.config configuration file has not been created as per the QBI required installation and configuration steps.
.

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

 

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.IO.FileNotFoundException: Could not load file or assembly 'Interop.QBFC5, Version=5.0.203.0, Culture=neutral, PublicKeyToken=31d8aec643e18259' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.QBFC5, Version=5.0.203.0, Culture=neutral, PublicKeyToken=31d8aec643e18259'
   at AyaNovaQBI.Util.QBValidate()
   at AyaNovaQBI.Util.PreFlightCheck()

Note the section of the error that says: Could not load file or assembly 'Interop.QBFC5, Version=5.0.203.0

This error occurs because the required QuickBooks component QBFC 5.0  has not been installed as per the QBI required installation and configuration steps.

5. You may also receive the following message if the QBFC 5.0 installation has experienced a registry issue or corruption. Un-install QBFC 5.0, reboot your computer, and re-install.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {4877276C-A727-486D-B201-F096035CA4DF} failed due to the following error: 80040154.
   at AyaNovaQBI.Util.QBValidate()
   at AyaNovaQBI.Util.PreFlightCheck()
   at AyaNovaQBI.MainForm.()
   at AyaNovaQBI.MainForm.(Object [1], EventArgs [1])
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
   at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 

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

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #2188
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: AyaNova Sales & Support

Permissions Expand / Collapse

All times are GMT -8:00, Time now is 9:12am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.031. 16 queries. Compression Disabled.