Ayanova WBI 7.2.0.0 fails when I try to edit workorder


#1

Hi. I am editing a workorder in WBI. Everything seems to work ok, except if I press Labor and then Edit work order(the little pencil). Then it crashes with following informations. This happens every time.
We have never used it because of this, but we are going to in the near future. What to do?
Thanks in advance.
/Thomas

Support information

The following information about the error was automatically captured:

Unable to cast object of type ‘Telerik.Web.UI.GridInsertionObject’ to type ‘GZTW.AyaNova.BLL.WorkorderItemScheduledUser’.

at WorkorderEdit.gridScheduledUsers_ItemDataBound(Object sender, GridItemEventArgs e)
at Telerik.Web.UI.RadGrid.OnItemDataBound(GridItemEventArgs e)
at Telerik.Web.UI.GridItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows)
at Telerik.Web.UI.GridTableView.CreateInsertItem(Boolean useDataSource, GridEnumerableBase resolvedDataSource, ControlCollection rows)
at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource)
at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource)
at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
at Telerik.Web.UI.GridTableView.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
at Telerik.Web.UI.GridTableView.DataBind()
at Telerik.Web.UI.GridTableView.Rebind()
at Telerik.Web.UI.GridCommandEventArgs.ExecuteCommand(Object source)
at Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.WebControls.ImageButton.OnCommand(CommandEventArgs e)
at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


#2

Hello, this must be a frustrating experiencing an issue for all this time. Thank you for providing details and context so together we can resolve as soon as possible!
I have done a search and have not seen this specific error message before to provide a specific solution.
But based on your great details, I would highly recommend that WBI be fully uninstalled and then installed again as it may be something with specific file or files.

  1. First confirm that you ARE using the latest version of AyaNova (compare to the version on our Download web page)
    If not, do update to the latest AyaNova following the steps outlined.
  2. Once confirmed are using the latest AyaNova, then uninstall WBI, confirm no files left behind after the installation (there should not be, but better to check just to be sure), reboot, download the latest WBI setup file and install WBI again starting http://www.ayanova.com/WBI7webhelp/wbi_server_installation.htm

Please post back your steps and the result (either here or directly to support@ayanova.com)

  • Joyce

#3

Hello - was hoping to hear back that you removed, rebooted and reinstalled WBI (which does not affect your database at all), testing as outlined and now works fully and successfully?

  • Joyce

#4

This happens to us also.
What we have found is that this is a sequence or procedure error.
If you hit the green + button at the bottom of the screen, then hit the little pencil, it will crash with that alarm.
You are already in adding/edit mode when you hit the green + button. You should close this first before trying to edit with the pencil.
It gets a little confusing on a tablet because the screen size is smaller.
Hope this helps.