[DUG] Calculations affected by login

John Davys john.davys at rezare.co.nz
Wed May 28 16:26:12 NZST 2008


This is an odd one but I have had the problem demonstrated to me today as I
found it hard to believe.
 
I'm using BDS 2006, Delphi personality plus the TMS component set. The
application uses a mathematical model to simulate heat transfer and does
millions of calculations solving differential equations numerically to
generate temperatures over time etc. The results are displayed in a TMS grid
and a TeeChart component draws a graph of them.
 
The strange thing is that the calculations & graph come out fine if the user
is logged into the pc as a local user but not if the user is logged into the
pc as a domain user. The numbers calculated are garbage in the second case.
So that's the same app, on the same hardware, only difference being the
logged in user. No exceptions are generated, it runs without apparent error.
 
When logged into the network, the user is part of a large company network
(Microsoft Active Directory) that has a strict lockdown policy where most
users are severely restricted in what they can do or see. When logged in as
a local user he is in the Administrators group whereas logged in as a domain
user he won't be.
 
This is running under XP, SP2. It is recent hardware, an HP laptop.
 
I can't duplicate the problem on any of my development or test machines. I'm
on a different network but it's still MS active directory and I'm logged in
as a network user.
 
A further point of interest is that a tester, in a different organisation,
reports the same issue i.e. it doesn't produce the correct answers as a
network user but does on a standalone pc. In this case the standalone pc is
a physically different machine.
 
I'm struggling to come up with any kind of mechanism that could account for
this behaviour. Any ideas?
 
Cheers
John
 
----------------------------------------------------------------------------
----
John Davys
Senior Consultant - Database Systems
Rezare Systems Limited
Hamilton, New Zealand
ph: (07) 857 0824
mobile: (027) 557 0824
http://www.rezare.co.nz <http://www.rezare.co.nz/> 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20080528/7bdf9147/attachment.html


More information about the Delphi mailing list