DataPortal_Update fail for one computer only

DataPortal_Update fail for one computer only

Old forum URL: forums.lhotka.net/forums/t/11191.aspx


Pavel posted on Thursday, February 23, 2012

Application return an error message references the

at myLibrary.SomeList.DataPortal_Update()

at dm(Object, Object[])

at Csla.Reflection.MethodCaller.CallMethod(Object obj, DynamicMethodHandle methodHandle, Object[]parameters))

during child insert/update.

What very strange is that it happened only for one computer.

I tried my application with different accounts and from different computers and only this one give this kind of error.

How can I explain this?

This is 3-tier application, so the error happened on a server side.

Thanks,

JonnyBee replied on Friday, February 24, 2012

To start with you must identify exactly which exception is thrown and the callstack to identify where in the code.

Then you can dig into what is causing that exception to be thrown..

 

Pavel replied on Friday, February 24, 2012

Thanks,

I am working on this issue right now....do you have any idea how it can happens only on one particular workstation?

I am very curious even to get a simple idea for the explanationBig Smile

JonnyBee replied on Friday, February 24, 2012

Some possibilities:

  1. wrong assembly version
  2. timezone differences (datetime changes to previous date)
  3. configuration errors
  4. ....

Pavel replied on Friday, February 24, 2012

It is simple when you know the problem....

It was Regional Setting setup not right on that machine.

Good programming habit would be a rule: never trust a user setting and convert date types to a right one. It complains on database level, as CAST function was not implemented.

Thanks again for your help,

There is no money to buy an experience !!!

Copyright (c) Marimer LLC