S
shawn
Hi -
I am trying to save a file from one server to another. Both are on the
same network. When I attempt the operation, I get the following:
There is a time and/or date difference between the client and server.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.IO.IOException: There is a time and/or date
difference between the client and server.
The code is:
StreamReader sr = new StreamReader(sTemplate);
string sZone = sr.ReadToEnd();
sr.Close();
string sNewZonePath = DNSFilePath + _ZoneName + ".new";
using (StreamWriter sw = new StreamWriter(sNewZonePath))
{
sw.Write (sZone);
sw.Close();
}
This works fine another another client server to the same target
server.
Thanks in advance...
I am trying to save a file from one server to another. Both are on the
same network. When I attempt the operation, I get the following:
There is a time and/or date difference between the client and server.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.IO.IOException: There is a time and/or date
difference between the client and server.
The code is:
StreamReader sr = new StreamReader(sTemplate);
string sZone = sr.ReadToEnd();
sr.Close();
string sNewZonePath = DNSFilePath + _ZoneName + ".new";
using (StreamWriter sw = new StreamWriter(sNewZonePath))
{
sw.Write (sZone);
sw.Close();
}
This works fine another another client server to the same target
server.
Thanks in advance...