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

Posted on 2004-08-31
Medium Priority
Last Modified: 2008-01-09
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

E-E Admin
Question by:RBECKMN
LVL 10

Expert Comment

ID: 11945498
hi RBECKMN, what is the error? past the relevant code where the error pop up.

Accepted Solution

Lunchy earned 0 total points
ID: 13606347
Closed, no points refunded.
Friendly Neighbourhood Community Support Admin

Author Comment

ID: 13617392
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.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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.

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This article describes and provides a custom-made tool I wrote to give businesses a means of identifying commercial music content, without having to expend too much effort. Business recordings are easily identified from possibly illegal music files …
In the video, one can understand the process of resizing images in single or bulk. Kernel Bulk Image Resizer is an easy to use tool for resizing large number of images. One can add and resize multiple images with this tool in single go. The video sh…
Watch the video to know the simple way to remove or recover or reset lost or forgotten passwords of Outlook PST file. With Kernel Outlook Password Recovery tool such operation is very easy to perform. It is a freeware with limitation to use with 500…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question