Writing the Error or any log message to Event log of the OS
string sSource, sLog, sEvent;
sSource = "Error Occur While Inserting Employee Record";
sLog = "Application";
sEvent = "Insert";
if (!EventLog.SourceExists(sSource))
EventLog.CreateEventSource(sSource,sLog);
EventLog.WriteEntry(sSource,sEvent);
I am good Learner and Listener .This Page is to update my experience and the challenges faced on day to day bases . I will also write about some the very interesting opensource tools/components , which will definitely more informative and useful .
Monday, February 18, 2008
Tuesday, February 05, 2008
Error Message
Cause : This error will occuer when you convert you client PC to the Domain sever . There is the date / time difference between the server and the client .
Solution : ASk your administrator to check the correct time in the server and the client or if your are the administrator log in to the client and set the time as if in the server
The Current time on this computer adn the current time on the network are different for moreinformation about Date/Time Propertoes, see Help and Support . To log on , Contact your system administrator
Cause : This error will occuer when you convert you client PC to the Domain sever . There is the date / time difference between the server and the client .
Solution : ASk your administrator to check the correct time in the server and the client or if your are the administrator log in to the client and set the time as if in the server
Subscribe to:
Comments (Atom)