Skip to main content

We are getting this error once in a while when a user uses the F3 shortcut to search customer orders. Any ideas for a fix? We can’t replicate it our selves. It happens once or twice a week. 

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> System.InvalidCastException: Unable to cast object of type 'Ifs.Fnd.Data.FndDataColumn' to type 'Ifs.Fnd.ApplicationForms.FndApfDataColumn'.

   at Ifs.Fnd.ApplicationForms.cDbManager.BuildSearchMeta()

   at Ifs.Fnd.ApplicationForms.cDbManager.get_SearchExploreSource()

   at Ifs.Fnd.ApplicationForms.cDataSource.DataRecordSearchDialog()

   at Ifs.Fnd.ApplicationForms.cDataSource.DataRecordQueryDialog()

   at Ifs.Fnd.ApplicationForms.cFormWindowBase.DataRecordQueryDialog()

   at Ifs.Fnd.ApplicationForms.cFormWindowBase.vrtDataRecordQueryDialog()

   at Ifs.Fnd.ApplicationForms.cDataSource.vrtDataRecordQueryDialog()

   at Ifs.Fnd.ApplicationForms.cDataSource.DataSourcePopulate(SalNumber nWhat, SalNumber nParam)

   at Ifs.Fnd.ApplicationForms.cFormWindowBase.DataSourcePopulate(SalNumber nWhat, SalNumber nParam)

   at Ifs.Fnd.ApplicationForms.cMasterDetailTabFormWindow.DataSourcePopulate(SalNumber nWhat, SalNumber nParam)

  at Ifs.Fnd.ApplicationForms.cMasterDetailTabFormWindow.vrtDataSourcePopulate(SalNumber nWhat, SalNumber nParam)

   at Ifs.Fnd.ApplicationForms.cDataSource.vrtDataSourcePopulate(SalNumber nWhat, SalNumber nParam)

   at Ifs.Fnd.ApplicationForms.cDataSource.cDataSource_WindowActions(Object sender, WindowActionsEventArgs e)

   at PPJ.Runtime.Windows.SalWindow.InvokeWindowActions(WindowActionsEventArgs args, SalContext context, Int32 startIndex)

   at PPJ.Runtime.Windows.SalWindow.SendClassMessage(Int32 msg, SalNumber wParam, SalNumber lParam, Type startType)

   at PPJ.Runtime.Sal.SendClassMessage(SalNumber message, SalNumber wParam, SalNumber lParam)

   at Ifs.Application.Order_.frmCustomerOrder.frmCustomerOrder_OnPM_DataSourcePopulate(Object sender, WindowActionsEventArgs e)

   at Ifs.Application.Order_.frmCustomerOrder.frmCustomerOrder_WindowActions(Object sender, WindowActionsEventArgs e)

   at PPJ.Runtime.Windows.SalWindow.InvokeWindowActions(WindowActionsEventArgs args, SalContext context, Int32 startIndex)

   at PPJ.Runtime.Windows.SalWindow.FireWindowActions(Int32 msgCode, IntPtr wParam, IntPtr lParam)

   at PPJ.Runtime.Windows.SalWindow.DispatchThenProcess(Message& m)

   at PPJ.Runtime.Windows.SalWindow.ProcessWndProc(Message& m)

   at PPJ.Runtime.Windows.SalForm.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)

   --- End of inner exception stack trace ---

Hi @craryit 

did you clean the cache via cmd in windows?

Sart cmd as administrator and enter this:

rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache

 


Reply