A first chance exception of type 'System.Security.SecurityException' occurred in System.dllPublic Sub WriteToEventLog(ByVal sqlCmd As String, ByVal RowCount As Integer, Go to the complete details ... Bookmark It