473,581 Members | 2,786 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Event Viewer log entry

1 New Member
Hello Friends.

I have a log file that contains report related to a remote server query.
I want to enter that information into the event viewer of my computer or on the remote server on which the query has taken place.
Can you please tell me a way to write an entry into the event viewer?
Thank you.
May 23 '07 #1
0 941

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1430
by: John White | last post by:
Hi, I am having trouble getting back the entry messages from a remote event log using the System.Diagnostics.EventLog class. When the code is run against the local event log, the event message is formatted correctly as in the normal MMC event viewer, but when called against a remote server, some of the messages return messages as :- The...
0
1071
by: Ken Allen | last post by:
I have some experience with the use of the Event Log with older applications, and even writing kernel components, where we create our custom MSG file for the messages associated with the Event Log entries created by our applications written in C++ 6 and earlier. The .Net environment certainly makes it easier to deal with the creation and...
1
3603
by: Tressa | last post by:
I have a Csharp windows service that currently uses socketing to communicate to additional PC's to shutdown or restart. I need to also have this service open up the Event Viewer and search for specific errors. If it finds the error it will use the socketing to send a message to the primary computer and post the failure. It will also use a...
1
1056
by: Dave Wurtz | last post by:
All, I'm trying to write messages to the event log and have everything working ok... almost. The message that I am sending via myEventLog.WriteEntry displays followed by "For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp". How can I change this message? Thanks in advance!
0
5596
by: cherryparadise001 | last post by:
Hi All, I have moved an asp system from Window Server 2000 to Window Server 2003 recently. Many error occured and most of them are unable to get the control's value in the page. I am newbie to asp and I would like to ask any different in Window Server 2000 and 2003 will cause error like this? and is there any KB told how to do the...
7
7350
by: sergio-p | last post by:
I had no luck in my google search for this answer. Does anyone know if it's possible to read the entries in the Windows Event Log of the server running my PHP page? I'm trying to create an itranet page that lists errors from the server event log.... I'd prefer a pure PHP solution, but I'd be happy to try other alternatives that involve call...
3
14632
by: Mike | last post by:
I know there are server tools out there for this but are admins won't run them on test servers. what I need is a way to read the event view --system for a particular event. I need this to run every 15 minutes and when this event is logged I need an email to be sent to myself and another developer. Is there a way to do this?
15
1514
by: Andrew Robinson | last post by:
In the past, I remember all kinds of security related issues when trying to write to the event log but don't remember the specifics. Was there an issue with creating a new source? Can you write if you are using the ASP.NET account or Network Services account? Did this change with .NET v2.0 and/or Win 2003 SP1? thanks,
2
1920
by: d33a | last post by:
Hello, I have a small question. I am using asp .net 2.0 and i am trying to read from the event viewer and display in a console the users that have logged on the computer, first and last logon/logout hour. I am not getting verry far: this is what i wrote so far: EventLog myNewLog = new EventLog(); myNewLog.Log = "Security"; foreach...
0
7882
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8312
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7914
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8181
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6564
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5683
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1410
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.