Questions tagged [event-viewer]

Event Viewer - tool in Windows systems that allows users to inspect the event logs.

Event Viewer - tool in Windows systems that allows users to inspect the event logs.

353 questions
0
votes
0 answers

Powershell: Search a file, export it to the Event Log - How To

How Do I parse an XML file to a string, so I can take that data, and create an Event Log with that parsed data being in the -Message portion of the command. example: Write-EventLog –LogName Application –Source “Custom Alert” –EntryType Information…
Delaney
  • 5
  • 4
0
votes
0 answers

SAS Batch Jobs Intermittently Failing

We have a high volume of SAS batch jobs that are run using a scheduling/polling tool called VisualCron. Say 100+ VisualCron instances (one each for each of our customers) calls a VBScript file that polls an SQL "jobs" table and identifies the work…
Code Monkey
  • 643
  • 6
  • 18
0
votes
0 answers

Is it possible to convert an event log provider name to the event log source shown in eventvwr?

I'm writing a script which is essentially a simple frontend to the Get-WinEvent cmdlet--the one issue I'm seeing arise is that when specifying a filter to the -FilterHashTable parameter, then ProviderName property does not match what is actually…
cjones26
  • 3,459
  • 1
  • 34
  • 51
0
votes
0 answers

Empty page on opening a ASP.NET MVC Application

We have a website running on IIS 7 which have multiple Application pools. The Default App Pool runs on .NET 2.0. The single ASP.NET MVC application runs on the ASP.NET v4.0 App Pool. Accessing the landing page of the MVC sometimes shows an empty…
Ranjith Venkatesh
  • 1,322
  • 3
  • 20
  • 57
0
votes
1 answer

Needing help to modify existing batch file used to clear event viewers

I have some code here that is being used to clear the event viewers on a few pcs. Currently I have to run this batch file with administrator access. Could someone help me in trying to modify it to just run normally. Thanks
SamL
  • 133
  • 2
  • 3
  • 16
0
votes
1 answer

Having a hard time tracking down a process that is crashing my app pool

So I have an app that keeps crashing out and it's not leaving any application logs. When I finally went and looked in the event viewer for that server (a server 2003 box), I found this error (The even source was ASP.NET 4.0.30319.0) An unhandled…
Sinaesthetic
  • 11,426
  • 28
  • 107
  • 176
0
votes
1 answer

Logging Application Block doesn't add log entries to Event Viewer on machines other than that on which the application was built

I am using the Logging Application Block (of Microsoft Enterprise Library 5.0) to log exceptions in the Event Viewer that occur in my WPF XBAP application. However, exceptions are only being logged if the application is run on my machine (the…
Neo
  • 4,145
  • 6
  • 53
  • 76
0
votes
3 answers

how to check event source is created or not in event viewer using cmd

I was created an event source in event viewer using cmd but now I want check before creating event source into event viewer that event source already created or not using cmd.
swapnil
  • 125
  • 11
0
votes
3 answers

How to parse and delete archived event logs in Powershell

I'm trying to parse archived Security logs to track down an issue with changing permissions. This script greps through .evtx files that are +10 days old. It currently outputs what I want, but when it goes to clean up the old logs (About 50GB/daily,…
Robbie Crash
  • 200
  • 3
  • 11
0
votes
1 answer

Writing to the event log with hierarchy

I know there are a lot of topics about writing to the event viewer on SO, but I didn't find what I need. I have the following code to create a new Event Log Category in the event Viewer: string sSource = "MyWebService"; string sLog = "My…
Complexity
  • 5,682
  • 6
  • 41
  • 84
0
votes
1 answer

Logging events with C++ in Event Viewer with TEventLogger

I want to make a log with errors during the execution of my app. I'm trying to write an event to the windows Event Viewer with a VCL form application with C++ Builder XE5. I'm using Vcl.SvcMgr.TEventLogger class. The code in the header file is…
Zdravko Donev
  • 402
  • 5
  • 22
0
votes
1 answer

How do I know which type of authentication Active Directory is using?

I've been trying to connect to a web service using Active Directory credentials and on the server side this is what the event viewer shows: 08/06/2014 05:50:39 p.m. An account failed to log on. Subject: Security ID: …
0
votes
0 answers

Excess eventviewer noise from scardsvr

I want to remove this excess noise from EventViewer. I am running on Windows XP. I keep getting: The description for Event ID ( 2 ) in Source ( SCardSvr ) cannot be found. The local computer may not have the necessary registry information or…
Richard Sandoz
  • 327
  • 4
  • 9
0
votes
1 answer

Source computers go inactive after Windows Event Collector restarts

I have got 3 Domain Controllers fowarding events and 1 collector collecting Security events from those 3 source machines, they are all on the same Domain. However after restarting Windows Event Collector, I go to the Collector machine -> Event…
gugo
  • 237
  • 2
  • 7
  • 17
0
votes
1 answer

Programmatically change Event Viewer properties in C#

IIS 7.5 supports IIS configuration change auditing by changing setting from Event Viewer/Applications and Services Logs/Microsoft/Windows/Operational/Enable Log. I tried it through Event Viewer and it worked great. But what I need is not to do that…
user2434400
  • 619
  • 2
  • 7
  • 13