Solved

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

Posted on 2004-08-31
4
6,163 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
Comment Utility
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
Comment Utility
Closed, no points refunded.
Lunchy
Friendly Neighbourhood Community Support Admin
0
 

Author Comment

by:RBECKMN
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now