Access Event log on remote computer

G

Guest

Can I access Event log of a remote computer from an aspx page (Server side)

Thanks
 
N

Natty Gur

Hi,

Technically yes, one of EventLog constructors "Initializes a new
instance of the EventLog class. Associates the instance with a log on
the specified computer" (MSDN).

But you should change the default user that runs ASP.NET due to the fact
that he doesn't have rights to access network resources. If you are
going to change ASP.NET user to user with rights. BE VERY careful, you
can cause security flaws!

HTH

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,237
Latest member
AvivMNS

Latest Threads

Top