Error in the example code
Hi can anyone help me whith this error. I can't get the example code from the book to work.
This is the error I get.
Linje 27: protected void LogEvent(string message, EventLogEntryType entryType)
Linje 28: {
Linje 29: if (!EventLog.SourceExists("ThePhile.COM"))
Linje 30: {
Linje 31: EventLog.CreateEventSource("ThePhile.COM", "Application");
Kildefil: c:\inetpub\wwwroot\ThePhile\PhilePage.cs Linje: 29
|