Link to home
Start Free TrialLog in
Avatar of RBECKMN
RBECKMNFlag for United States of America

asked on

There is a time and/or date difference between the client and server.

I get this error when attempting to read directories on a mapped drive using the DirectoryInfo.GetDirectories method, when there is a difference between the clock settings on the workstation vs. the server.  The mapped drive is mapped to a server folder.  Haven't been able to find any info on what this error actually means or how to resolve it other than by changing clock settings.  Problem is, the application I'm working on may run on workstations whose clocks might be very different..  I'm using VB but suspect the problem is not specifically related to VB.

=============================================
This question has been deleted with no points refunded.  09/29/2004 05:45PM PST

Computer101
E-E Admin
=============================================
Avatar of EBatista
EBatista

hi RBECKMN, what is the error? past the relevant code where the error pop up.
ASKER CERTIFIED SOLUTION
Avatar of Lunchy
Lunchy
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RBECKMN

ASKER

Here is the answer to this problem:

The VB.NET program was run on a workstation, and was intended to read directory information on a server.  It turns out that the server and the workstation had different time zone settings and different daylight savings settings.  Once the workstation was configured to the same settings as the server, the problem went away!

This question can be considered self-answered.  It never got any comments from anyone.