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
72
votes
9 answers

Eventviewer eventid for lock and unlock

What is the event id in Event Viewer for lock, unlock for a computer in Windows XP, Windows 7, Windows Vista and Windows Server 2008?
user1500194
  • 753
  • 1
  • 6
  • 5
22
votes
7 answers

Xampp - Apache Shuts Down Unexpectedly, Empty Log File And No Events

I have XAMPP installed on my machine. I am trying to run Apache from the XAMPP Control Panel. I start the XAMPP Control Panel by right-clicking the shortcut and selecting "Run as administrator" (I am logged in on an account with Administrator…
Jan Tacci
  • 3,131
  • 16
  • 63
  • 83
16
votes
5 answers

IIS 7.0 gives 503 error and stops the application pool

When I start the application pool, and request a page in an application in that pool, I get a "HTTP Error 503. The service is unavailable." If I look at the application pools in IIS, I can see that it has now stopped. Going to the event viewer I…
Ram
  • 661
  • 2
  • 12
  • 37
14
votes
1 answer

How to interpret windows APPCRASH mysterious log?

How should I interpret these logs to identify the cause of the appcrash? Fault bucket , type 0 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: InsightAnalysisEngine.exe P2: 1.0.0.0 P3: 4f4dee84 P4: KERNELBASE.dll P5:…
Nawaz
  • 353,942
  • 115
  • 666
  • 851
12
votes
2 answers

Subscription to Windows Event Log?

I'm working on a project that needs to check the Windows Event Log frequently for certain events. I'm wondering - is there a way to create a subscription to the Windows Event Log for certain events? So, when the event happens (e.g. event id =…
urlreader
  • 6,319
  • 7
  • 57
  • 91
12
votes
3 answers

Windows Event Viewer holds a lock on my EXE file

I'm curious about something. I'm developing a Windows service and log all the diagnostic events into the Windows Event Log. So when the service is running I open the Event Viewer (from Administrative tools) to view the results of my service's…
c00000fd
  • 20,994
  • 29
  • 177
  • 400
10
votes
1 answer

Log to event viewer on Windows with C++

I want to use log on my C++ application. However, I'd like to use Windows (10) event viewer, instead of text files. I found out some weird calls, that I don't even know what the parameters mean - ReportEvent, OpenEventLog and some other Event…
Leonardo Alves Machado
  • 2,747
  • 10
  • 38
  • 53
9
votes
2 answers

Application Event log exceeding maximum allowed count

Somehow, the Application Event log count ended up to 18,446,744,073,709,551,499. This causes MMC snap-in to fail when I want to see the event using Event Viewer, giving a System.OverflowException (Value was either too large or too small for an…
misha
  • 2,760
  • 3
  • 28
  • 30
9
votes
6 answers

Writing to event log in C# - do I need to use EventLog.CreateEventSource when writing to Application log?

When I use the following code to write to Application Event log, everything works fine: EventLog log = new EventLog(); log.Source = "Application"; log.WriteEntry("test message", EventLogEntryType.Error); When I use the code that is from MSDN and…
sarsnake
  • 26,667
  • 58
  • 180
  • 286
8
votes
1 answer

How to get a list of all Windows Event Logs (Event Viewer Logs) with their hierarchy and friendly names in C#

I'm trying to replicate the following from the Event Viewer: I'm having trouble with a few things. Some of the names I get back are not the display names or friendly names. For example, for "Microsoft Office Alerts" I just get back "OAlerts". How…
Mark
  • 5,223
  • 11
  • 51
  • 81
8
votes
3 answers

Sharepoint: executing stsadm from a timer job + SHAREPOINT\System rights

I have an unusual situation in which I need a SharePoint timer job to both have local administrator windows privileges and to have SHAREPOINT\System SharePoint privileges. I can get the windows privileges by simply configuring the timer service to…
Aleksey Kudryavtsev
8
votes
2 answers

How can i export my event logs to a folder (csv or txt) on every start up automatically?

I was looking for either a batch file, powerscript (not really good with yet)or any way to have my event logs exported to txt or csv on every start up? Im using windows 7 pro if that helps
ShaadShaad
  • 117
  • 1
  • 1
  • 6
7
votes
0 answers

Message from event viewer, what does it mean?

.NET Runtime version 4.0.30319.34209 - The profiler was loaded successfully. Profiler CLSID: '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}'. Process ID (decimal): 1440. Message ID: [0x2507].
Maddy
  • 907
  • 3
  • 10
  • 25
7
votes
1 answer

Where are archived evtx files stored?

I know that you can view any evtx files in the event viewer but when you use the option to archive them off what folder are they stored in? I know that I can find all my evtx files in C:\Windows\System32\winevt\Logs but when I go into that folder I…
parchambeau
  • 1,141
  • 9
  • 34
  • 56
6
votes
3 answers

log4net doesn't log in Windows Event Viewer

I would like to log in the Windows Event Viewer using log4net. I created a Console Application (.NET Framework 4), I added the reference log4net.dll, I put the following code in my App.config:
Nico
  • 575
  • 3
  • 8
  • 19
1
2 3
23 24