QBI Error


#1

Here is my error.

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 —
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at CSLA.Server.DataPortal.CallMethod(Object obj, String method, Object[] params)
at CSLA.Server.DataPortal.Fetch(Object Criteria, DataPortalContext context)
at CSLA.DataPortal.Fetch(Object Criteria)
at CSLA.Security.BusinessIdentity.LoadIdentity(String UserName, String Password)
at CSLA.Security.BusinessPrincipal…ctor(String Username, String Password)
at CSLA.Security.BusinessPrincipal.Login(String Username, String Password)
at GZTW.AyaNova.BLL.AyaBizUtils.CheckDataAvailable()
at GZTW.AyaNova.BLL.AyaBizUtils.Initialize()
at AyaNovaQBI.MainForm.(Object , EventArgs )
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)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: [file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll](file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll)

AyaNovaQBI
Assembly Version: 3.2.4.0
Win32 Version: 3.2.4.0
CodeBase: [file:///C:/Program%20Files/Ground%20Zero%20Tech-Works%20Inc/AyaNova%203/AyaNovaQBI.exe](file:///C:/Program%20Files/Ground%20Zero%20Tech-Works%20Inc/AyaNova%203/AyaNovaQBI.exe)

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
&n


#2

Hi

The error is occurring because the AyaNovaQBI.exe.config configuration file has not been created as per the installation instructions step #4 (also be sure to set the display of Windows Explorer as it shows above Step #4)in the QBI v3 Manual http://www.ayanova.com/QBIwebHELP/index.html?installationdatabaseconfiguration.htm

I also encourage you for your own convienence to use the Search feature of this forum to search for similar issues, or browse the section that pertains - for example, in this QBI v3 section is three topics where AyaNova users have posted the same message - all are due to there not being a AyaNovaQBI.exe.config file present.

http://forum.ayanova.com/Topic1841-94-1.aspx

http://forum.ayanova.com/Topic1979-94-1.aspx

http://forum.ayanova.com/Topic1620-94-1.aspx

Please review your steps, create the configuration file and than start QBI again.

  • Joyce