Get the following message in Windows Event Viewer Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

Issue

Get the following message in Windows Event Viewer "Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)". The complete message looks like this:

System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). at System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result) at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result) at System.Guid..ctor(String g) at TAC.DSS.BusinessLogic.TrendLogProcessor.GetLogValues(XmlDocument filterXml, ITrendLogValuesInterface values) at DssCliLib.TrendLog.GetLogValues2(SByte* pszConnectionString, Char* bstrFilter, ITrendLogValues* pValues)

This occurs at regular intervals

Product Line

TAC Vista

Environment

Vista 5.1.X

Cause

This is caused by trend log calculation objects being incorrectly configured. The "Trend Log Object" field has been left blank. When Vista tries to execute the trend log calculation, it uses the trend log GUID (Globally unique identifier) of the trend log object to retrieve information from the log database. If the field is left blank, "126??" (which means "object does not exist") is returned instead of the trend log GUID. Obviously "126??" does not comply with the GUID format.

Resolution

Check all the trend log calculation objects and ensure that they contain a reference to a trend log object.