mgmhicks
asked on
How to write to event Log with in my web application
I have tried this code to write to the event log with no success. Didn't think it would be that easy. Could someone send me in the right direction.
imports system.diagnostics
Dim myLog As New EventLog("")
myLog.Source = "ResidentPortal"
myLog.WriteEntry("Invalid Password Attempt", EventLogEntryType.FailureA udit)
imports system.diagnostics
Dim myLog As New EventLog("")
myLog.Source = "ResidentPortal"
myLog.WriteEntry("Invalid Password Attempt", EventLogEntryType.FailureA
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER