Solved

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

Posted on 2004-08-31
4
6,181 Views
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

Computer101
E-E Admin
=============================================
0
Comment
Question by:RBECKMN
4 Comments
 
LVL 10

Expert Comment

by:EBatista
ID: 11945498
hi RBECKMN, what is the error? past the relevant code where the error pop up.
0
 
LVL 2

Accepted Solution

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

Author Comment

by:RBECKMN
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.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display

829 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