Server Error in '/' Application.

Guid string should only contain hexadecimal characters.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Guid string should only contain hexadecimal characters.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FormatException: Guid string should only contain hexadecimal characters.]
   System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result) +6169169
   System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result) +285
   System.Guid..ctor(String g) +139
   WebPartProductPreviews.main.OnPreRender(EventArgs e) in C:\Programming\PinotrProject.Platform\WebParts\WebPartProductPreviews\main.ascx.cs:388
   System.Web.UI.Control.PreRenderRecursiveInternal() +132
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3671


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4770.0