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



Error starting the event generator Expand / Collapse
Author
Message
Posted 3/6/2006 3:34:50 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 11/20/2006 8:23:53 AM
Posts: 15, Visits: 30
I am running ayanova v3.0.3 and have updated the dll file for the generator as well. After instalation of the generator i run the program for the first time and i recieve a .net framework error stating the following:

************** Exception Text **************
CSLA.ValidationException: Object is not valid and can not be saved
   at CSLA.BusinessBase.Save()
   at GZTW.AyaNova.BLL.Workorder.NewServiceWorkorderFromPM(Guid SourceWorkorderID)
   at GZTW.AyaNova.BLL.GenProcessPM.GeneratePMWorkorders()
   at GZTW.AyaNova.BLL.GenProcess.GO(String UserName, String Password)
   at NotifyTray.MainForm.timer1_Elapsed(Object sender, ElapsedEventArgs e)

I am able to click continue on the error message and the program is started on the task bar and says its proccessing but it does not generate any notifications. I have tried reinstalling the aplication multiple times in multiple directories with the same results. This problem was also occuring when i was running v 3.0.2 of aya nova so i dont think it is an issue with the recent update. I am running a network instalation of aya nova. It is on a small business server 2003 computer with all of the latest updates and service packs. Both ayanova as well as the generator are installed on the same local hard drive. Aya nova is then being accessesed by 4 windows xp pro machines. Here is a full copy of the error message i recieved.

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

************** Exception Text **************
CSLA.ValidationException: Object is not valid and can not be saved
   at CSLA.BusinessBase.Save()
   at GZTW.AyaNova.BLL.Workorder.NewServiceWorkorderFromPM(Guid SourceWorkorderID)
   at GZTW.AyaNova.BLL.GenProcessPM.GeneratePMWorkorders()
   at GZTW.AyaNova.BLL.GenProcess.GO(String UserName, String Password)
   at NotifyTray.MainForm.timer1_Elapsed(Object sender, ElapsedEventArgs e)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
Generator
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/AyaNova%20Generator/Generator.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
GZTW.AyaNova.BLL
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/AyaNova%20Generator/GZTW.AyaNova.BLL.DLL
----------------------------------------
log4net
    Assembly Version: 1.2.9.0
    Win32 Version: 1.2.9.0
    CodeBase: file:///C:/Program%20Files/AyaNova%20Generator/log4net.DLL
----------------------------------------
CSLA
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/Program%20Files/AyaNova%20Generator/CSLA.DLL
----------------------------------------
CSLA.Core.Bindablebase
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/Program%20Files/AyaNova%20Generator/CSLA.Core.Bindablebase.DLL
----------------------------------------
CSLA.Server.DataPortal
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/Program%20Files/AyaNova%20Generator/CSLA.Server.DataPortal.DLL
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 7.0.5000.0
    Win32 Version: 7.10.6310.4
    CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase: file:///c:/windows/assembly/gac/system.runtime.remoting/1.0.5000.0__b77a5c561934e089/system.runtime.remoting.dll
----------------------------------------
CSLA.Server.ServicedDataPortal
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/Program%20Files/AyaNova%20Generator/CSLA.Server.ServicedDataPortal.DLL
----------------------------------------
System.EnterpriseServices
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase: file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
----------------------------------------
GZTW.Profile
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/AyaNova%20Generator/GZTW.Profile.DLL
----------------------------------------
GZTW.Data
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/AyaNova%20Generator/GZTW.Data.DLL
----------------------------------------
System.Data
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
FirebirdSql.Data.Firebird
    Assembly Version: 1.7.0.1
    Win32 Version: 1.7.0.1
    CodeBase: file:///C:/Program%20Files/AyaNova%20Generator/FirebirdSql.Data.Firebird.DLL
----------------------------------------
RegexAssembly5_0
    Assembly Version: 0.0.0.0
    Win32 Version: n/a
    CodeBase:
----------------------------------------
System.Security
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2300
    CodeBase: file:///c:/windows/assembly/gac/system.security/1.0.5000.0__b03f5f7f11d50a3a/system.security.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.


 

Post #917
Posted 3/6/2006 3:53:29 PM
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:39:42 AM
Posts: 1,797, Visits: 4,167
Hi

By the error message, there is an issue with a PM item attempting to convert to a service workorder.

Object is not valid and can not be saved
   at CSLA.BusinessBase.Save()
   at GZTW.AyaNova.BLL.Workorder.NewServiceWorkorderFromPM(Guid SourceWorkorderID)
   at GZTW.AyaNova.BLL.GenProcessPM.GeneratePMWorkorders()

Without the Generator running, log into AyaNova and and open the PM's that you have sent to automatically convert to a service workorder and confirm that scheduled users are those that are Active and are set to type Scheduled User.

You have two options:

1. If you find a PM that has been set to a user that is not an Active user of type Schedulable User, you than need to edit that user to Active and Schedulable User

2. Or assign a actual Active user that is of type Schedulable User to that PM

Let me know what you find.

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #918
Posted 3/7/2006 12:08:14 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 11/20/2006 8:23:53 AM
Posts: 15, Visits: 30
It looks like i had an invalid scheduled user burried in my pm screen from the import off of the old ayanova.

Thanks

David

Post #921
Posted 3/9/2006 3:11:07 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/13/2007 3:49:11 PM
Posts: 9, Visits: 33
I have same problem, however the log show...

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.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)
   at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess)
   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.()
   at GZTW.AyaNova.BLL.AyaBizUtils.Initialize()
   at NotifyTray.MainForm.MainForm_Load(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.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
Generator
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/Ground%20Zero%20Tech-Works%20Inc/AyaNova%20Generator/Generator.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
GZTW.AyaNova.BLL
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/Ground%20Zero%20Tech-Works%20Inc/AyaNova%20Generator/GZTW.AyaNova.BLL.DLL
----------------------------------------
log4net
    Assembly Version: 1.2.9.0
    Win32 Version: 1.2.9.0
    CodeBase: file:///C:/Program%20Files/Ground%20Zero%20Tech-Works%20Inc/AyaNova%20Generator/log4net.DLL
----------------------------------------
CSLA
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/Program%20Files/Ground%20Zero%20Tech-Works%20Inc/AyaNova%20Generator/CSLA.DLL
----------------------------------------
CSLA.Core.Bindablebase
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/Program%20Files/Ground%20Zero%20Tech-Works%20Inc/AyaNova%20Generator/CSLA.Core.Bindablebase.DLL
----------------------------------------
CSLA.Server.DataPortal
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/Program%20Files/Ground%20Zero%20Tech-Works%20Inc/AyaNova%20Generator/CSLA.Server.DataPortal.DLL
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 7.0.5000.0
    Win32 Version: 7.10.3052.4
    CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.runtime.remoting/1.0.5000.0__b77a5c561934e089/system.runtime.remoting.dll
----------------------------------------
CSLA.Server.ServicedDataPortal
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/Program%20Files/Ground%20Zero%20Tech-Works%20Inc/AyaNova%20Generator/CSLA.Server.ServicedDataPortal.DLL
----------------------------------------
System.EnterpriseServices
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
----------------------------------------
GZTW.Profile
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/Ground%20Zero%20Tech-Works%20Inc/AyaNova%20Generator/GZTW.Profile.DLL
----------------------------------------
GZTW.Data
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/Ground%20Zero%20Tech-Works%20Inc/AyaNova%20Generator/GZTW.Data.DLL
----------------------------------------
System.Data
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

Post #930
Posted 3/9/2006 7:24:08 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:39:42 AM
Posts: 1,797, Visits: 4,167
************** 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
dialog.

Hi

If receiving an error running any AyaNova program when first set up, always review the installation and ocnfigurationn steps first.

The error message includes the line "not valid in application configuration file" - you need to check your Generator.exe.config file as the Generator is not able to connect.

It is possible the step to edit the Generator.exe.config file was not followed.

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #931
« 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 7:56am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 12 queries. Compression Disabled.