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
=============================================
RBECKMNAsked:
Who is Participating?
 
LunchyConnect With a Mentor Commented:
Closed, no points refunded.
Lunchy
Friendly Neighbourhood Community Support Admin
0
 
EBatistaCommented:
hi RBECKMN, what is the error? past the relevant code where the error pop up.
0
 
RBECKMNAuthor Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.