473,396 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

eventlog machinename

Hi,
I want to connect to a remote machine to check the event log. However, I
could not understand how to provide the credentials for the remote machine.
I can set the machine name with the machinename property of eventlog class.
Do I have to have the same credentials on the remote machine to connect to
it.?

Thanx
Nov 21 '05 #1
1 1811
Hi

I'm not sure I understand exactly what you're trying to do. If you want to access the event log on another machine, your credentials are handled
automatically. In other words, you can dim up an event log with the machine name and if the credentials of the user running your code can access the
eventlog of that machine, it will just work.

Craig VB.Net Team
--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).

--------------------
From: "Bilge TUTAK" <bi*********@boun.edu.tr>
Subject: eventlog machinename
Date: Tue, 7 Sep 2004 11:16:31 +0300
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2096
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2096
X-RFC2646: Format=Flowed; Original
Message-ID: <eF**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: hpnt2.ce.boun.edu.tr 193.140.207.44
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!cpmsftn gxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.ph x.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.languages.vb:227789
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Hi,
I want to connect to a remote machine to check the event log. However, I
could not understand how to provide the credentials for the remote machine.
I can set the machine name with the machinename property of eventlog class.
Do I have to have the same credentials on the remote machine to connect to
it.?

Thanx


Thanks & Regards
Santhosh Somayajulu
Internet Information Services Team,
Microsoft
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jacob Colding | last post by:
Hello, I have created a a logging mechanism, that writes mesages to a custom event log. On each check it verifies whether the requested source is registered to the "IPS" log. If not, it changes...
8
by: zorro | last post by:
I need to read the entire eventlog and parse it. The application uses vb.net and the EventLog object. The problem i'm having is that it can take less then a second up to 15 seconds to read all...
4
by: Crea-Ue. Kirdar | last post by:
hi there, i am out of ideas what to do with that eventlog-things. it seems, that the implementation of the eventlog-support in dotnet is really poor. however, here are the problems i have at the...
0
by: sangui | last post by:
..Net provide the class to read eventlog (EventLog class) but I try to read the window eventlog per file. without using EventLog Class. is it possible to read the log per file? public...
0
by: Karthik Srinivasan | last post by:
Hi, My web application which runs on Windows 2003 server writes to EventLog during application startup but I get the following exception Requested registry access is not allowed. at...
3
by: Ben | last post by:
I am trying to write an eventlog monitor. I am using the sample code provided by VB2005 SDK as the bases for my application. I need to monitor all three logs (application, system, and security)....
4
by: bartlomiej.szafraniec | last post by:
Hello! How I can gain access to event log on remote machine? Computers are in the same network but they are not in domain, they are only in the same workgroup. I've tried MachineName property in...
2
by: John Smith | last post by:
I have created a windows service that logs errors to the EventLog. I want the logs to go to an EventLog I have created. However, I am finding that the event is not logging to the created EventLog...
3
by: Olegus | last post by:
My Windows application if running on Vista crashed on the next statements( with ----in the front): if (!EventLog.SourceExists(Event.EventLogSource))...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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,...

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.