Skip to main content
Solved

User cannot add freight cost to shipment


Forum|alt.badge.img+5

A user tries to connect freight cost to s shipment, but is prompted with an error:

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> System.InvalidCastException: Unable to cast object of type 'Ifs.Application.Shpmnt_.frmShipment' to type 'Ifs.Application.Shpmnt_Ext_.frmShipment_Ext'.
 
 
   at Ifs.Application.Shpmnt_Ext_.frmShipment_Ext.FromHandle(SalWindowHandle handle)
 
 
   at Ifs.Application.Shpmnt_Ext_.tbwAvailableLines_Ext.menuItem__Connect_Execute(Object sender, FndCommandExecuteEventArgs e)
 
 
   at Ifs.Fnd.Windows.Forms.FndCommand.OnExecute(Component component)
 
 
   at Ifs.Fnd.Windows.Forms.FndContextMenuStrip.ExecuteCommand(ToolStripMenuItem menuItem, EventArgs e)
 
 
   at Ifs.Fnd.ApplicationForms.FndContextMenuStripInternal.ExecuteCommand(ToolStripMenuItem menuItem, EventArgs e)
 
 
   at Ifs.Fnd.Windows.Forms.FndToolStripMenuItem.OnClick(EventArgs e)
 
 
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
 
 
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
 
 
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
 
 
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
 
 
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
 
 
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
 
 
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 
 
   at System.Windows.Forms.Control.WndProc(Message& m)
 
 
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
 
 
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
 
 
   at System.Windows.Forms.ToolStripDropDown.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 ---
 
A colleague of him with exactly the same permission set is able to do so.
We are working in IFS10.9

Best answer by Xavier Fernando

Hi @TokoWieme ,

 

If it is already not performed, could you please refresh security cache and reset his account ;

 

Yet please note, all his saved preferences will get reset to default.​​​​

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

6 replies

Thushitha Chandrasiri
Superhero (Partner)
Forum|alt.badge.img+21

Hi @TokoWieme ,

Have you tried clearing the client cache in the user’s PC ?

If not, try doing it by deleting all the files in the 2.0 folder in the below folder path in the user’s PC in which this problem existing.

C:\Users\<your_user_name>\AppData\Local\Apps\2.0

Replace the <your_user_name> with the user’s windows user name.

 

Thanks,


Thushitha Chandrasiri
Superhero (Partner)
Forum|alt.badge.img+21

And before doing that, there is no IFS windows open within the PC..


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 14 replies
  • June 30, 2021
ThushAsanka wrote:

And before doing that, there is no IFS windows open within the PC..

Hi ThushAsanka,

 

Thank you for your repy, but unfortunately this did not help.I emptied both cache and 2.0 directory, but the error remains. 

But it look like it is a combination of his windows account and IFS, because if I logon to IFS on his PC, with my IFS account, I can add freight costs. 

This is an extra screenshot of the error. 

 

 


Forum|alt.badge.img+20
  • Superhero (Employee)
  • 294 replies
  • Answer
  • June 30, 2021

Hi @TokoWieme ,

 

If it is already not performed, could you please refresh security cache and reset his account ;

 

Yet please note, all his saved preferences will get reset to default.​​​​


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 14 replies
  • June 30, 2021

Hi Xavier, 

 

Thanks for the advice. This did the trick; the user can finally do his job properly after months. You are a true superhero!

 

regards,

 

Camiel 


Forum|alt.badge.img+20

@TokoWieme ,

Thanks for kind feedback :)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings