event-log Questions

5

I have been trying to install and start SQL Server 2012. I succeeded installing SQL Server 2012 Management Studio but I am still working to start its service. When I tried to start it I got an erro...
Virtually asked 29/3, 2015 at 18:36

24

Solved

I’m working on trying to port an ASP.NET app from Server 2003 (and IIS6) to Server 2008 (IIS7). When I try and visit the page on the browser I get this: Server Error in ‘/’ Application. Sec...
Exorbitant asked 13/8, 2009 at 19:15

4

Solved

I am trying to use the mc.exe to make message files for my event log writing program. But even the sample message file provided by the Microsoft won't compile. Who knows how to write a message file...
Kalvin asked 23/7, 2010 at 7:23

4

My windows service writes to the event log, but I've had various problems getting this correct. So in the process I used a number of different names. I followed an article describing how to set up ...
Nonagon asked 6/4, 2011 at 8:37

1

Solved

Helo,, How can I read a list of all successful logins on the server via Powershell? The following fields should be output in the list: TimeGenerated, UserName. I'm currently stuck on the following ...
Inoculation asked 23/9, 2023 at 19:53

3

Solved

Can anybody tell me what is maximum size of a windows NT log message? I know that it is possible to reset the maximum log size of event log from 32 MB. I am interested about the memory a single mes...
Skater asked 16/11, 2012 at 14:12

2

I have a powershell script which i would like to add to the eventlog. When i type in the Write-Eventlog command i get a error message. Write-EventLog -Logname autosnapshot -Source 'D:\script autoSn...
Roundabout asked 25/2, 2022 at 14:25

5

Solved

I am trying to wrap my head around ETW and how to integrate t into a high Performance application. We all know the old dreaded EventLog with it's non structured (and thus not so optimal) API. Now...
Urolith asked 15/1, 2013 at 10:45

12

When I write a log into windows event log, I get the event below, what's the root cause of this message, and how can I fix it? Many Thanks The description for Event ID 51001 from source RRWS ca...
Swap asked 5/8, 2010 at 7:8

4

Solved

I'm trying to figure out what format the output is from the getevent command in the adb shell. For example, the output looks like this: adb shell getevent -t | grep event1 The -t flag provides...
Cloudcapped asked 5/9, 2012 at 11:42

9

Solved

I'm creating an ASP.NET application that will log some stuff to Windows EventLog. To do this an event source has to be created first. This requires administrative priviledges so I cannot do it in t...
Dubrovnik asked 15/1, 2009 at 13:22

11

Solved

I am getting the following exception. I have given full control to Asp.net account on Eventlogs in Registry edit. [SecurityException: The source was not found, but some or all event logs could not...
Arterio asked 5/3, 2012 at 9:38

8

Solved

I am trying to create a Windows Service, but when I try and install it, it rolls back giving me this error: System.Security.SecurityException: The source was not found, but some or all event l...
Manado asked 28/4, 2011 at 17:1

4

Solved

I am working on a program and need ot know how I would read a specific entry to the Windows Event Log based on a Record number, which this script will already have. Below is the code I have been wo...
Rounders asked 27/6, 2012 at 3:59

1

Solved

I ran into some problems with logging **Information** Logs to Windows event log. Starting from a blank ASP.NET Core-Web-API .Net 5 I edited the following to Program.cs public static IHostBui...
Jeth asked 28/2, 2022 at 7:51

1

Solved

I have an Azure app service. In Visual Studio 2019 I can do this to get event logs from it: Open Cloud Exlorer window (View -> Cloud Explorer). Log in with my Azure credentials. Expand subscrip...

7

Solved

I keep getting this error message when trying to write to the Event log from a console app. Here's how i write to it public static void WriteToEventLog(Exception ex) { string mySource = "Export ...
Plasticine asked 19/8, 2009 at 14:10

2

Solved

My Windows Azure web role ASP.NET MVC application serves REST API requests on some of the routes and those routes require "basic" authentication. Client programs often fail to authenticate - most o...
Ortega asked 23/4, 2014 at 13:15

1

Solved

I've installed the Serilog.Sinks.EventLog sink into a little Background Worker Service project. However, none of the logs which I am attempting to write are showing up in the Event Log. This is the...
Kamkama asked 27/8, 2021 at 2:59

2

Solved

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...
Venery asked 3/11, 2015 at 22:23

4

Solved

The following listener will create an event entry when the Trace.WriteLine is called. If the source does not exist he will create it in the default log channel which is 'Application' . I want to sp...
Fabiolafabiolas asked 15/7, 2009 at 20:23

1

Having issues with a brownfield application (asp .netcore) migrating to a windows container running on mcr.microsoft.com/dotnet/core/aspnet:3.1 accessing the registry. Specifically, I've tried to r...
Helban asked 3/3, 2021 at 18:30

1

in Powershell 5 we can clear a Windows-Event-Log in this way: Get-EventLog -LogName * | % { Clear-EventLog -LogName $_.log } how to do this in Powershell 7??? (using powershell only) Powershell ...
Romansh asked 2/2, 2021 at 14:11

2

Solved

My website, written in ASP.NET and i used EventLog to write logs into the event viewer. It is already been running in the production (OS: Windows Server 2012 R2) and no problems encountered upon lo...
Hindermost asked 2/7, 2016 at 17:23

10

Solved

I'm using the following line to create a new event log new-eventlog -LogName "Visual Studio Builds" -Source "Visual Studio" I want to run this every time, because if I run a build from a new com...
Chaumont asked 13/12, 2012 at 1:33

© 2022 - 2024 — McMap. All rights reserved.