Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect Event Viewer Keywords null value
Message
From
11/01/2017 11:04:05
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01646401
Message ID:
01646527
Views:
20
>No - loEventLogRecord.Keywords is not null it is 36028797018963968 (which is correct for the hex value in the event log). Exception (as commented in code) is when accessing KeywordsDisplayNames. Exception type is System.Diagnostics.Eventing.Reader.EventLogNotFoundException. Don't you see the same behaviour ?

I finally found what was causing this. On that new environment, when the migration was done, the EventViewer.Keyword field was defined as Integer instead of BigInt. Once I made that change, I started to see the values. I have some like -9223372036854775808. I guess in such circumstances, as the value was not fitting, a null was being put.

Thanks for everything, that allowed me to see additional things in regards to all this.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform