G
Guest
Team
I am receiving this exception
A first chance exception of type 'System.FormatException' occurred in mscorlib.dl
Additional information: Input string was not in a correct format
on this line of code
VOSEWebServicesIncomingEventSource.Raise(messageEvent)
where messageEvent is of type : Microsoft.ApplicationBlocks.Logging.Schema.AuditMessageEvent (from MS Logging Block
and was built with this code in preceding method (auditMessageEvent = messageEvent):
public static void PublishAuditEvent(string message, LogLevel logLevel, EventLogEntryType eventLogEntryType, CustomEventSource customEventSource
AuditMessageEvent auditMessageEvent = new AuditMessageEvent();
auditMessageEvent.Message = message
auditMessageEvent.EventPublishLogLevel = (int)logLevel
auditMessageEvent.EventLogEntryTypeID = (int)eventLogEntryType
and VOSEWebServicesIncomingEventSource is defined as
private static EventSource VOSEWebServicesIncomingEventSource = new EventSource("VOSE Web Services Incoming")
EventSource being of type Microsoft.EnterpriseInstrumentation.EventSourc
I have nothing else besides the exception to go from - I have no clue which string is really bad.
Please advise
Thanks
Tim Reynold
Verizon FL
I am receiving this exception
A first chance exception of type 'System.FormatException' occurred in mscorlib.dl
Additional information: Input string was not in a correct format
on this line of code
VOSEWebServicesIncomingEventSource.Raise(messageEvent)
where messageEvent is of type : Microsoft.ApplicationBlocks.Logging.Schema.AuditMessageEvent (from MS Logging Block
and was built with this code in preceding method (auditMessageEvent = messageEvent):
public static void PublishAuditEvent(string message, LogLevel logLevel, EventLogEntryType eventLogEntryType, CustomEventSource customEventSource
AuditMessageEvent auditMessageEvent = new AuditMessageEvent();
auditMessageEvent.Message = message
auditMessageEvent.EventPublishLogLevel = (int)logLevel
auditMessageEvent.EventLogEntryTypeID = (int)eventLogEntryType
and VOSEWebServicesIncomingEventSource is defined as
private static EventSource VOSEWebServicesIncomingEventSource = new EventSource("VOSE Web Services Incoming")
EventSource being of type Microsoft.EnterpriseInstrumentation.EventSourc
I have nothing else besides the exception to go from - I have no clue which string is really bad.
Please advise
Thanks
Tim Reynold
Verizon FL