Server Error in '/' Application.

Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

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 should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

Source Error:


Line 681:
Line 682:        if (strReferrer != string.Empty)
Line 683:            referrer = new Guid(strReferrer.ToString());
Line 684:        else
Line 685:            referrer = Guid.Empty;

Source File: d:\WebServerFiles\SBIWebApplications\WebModules\WebModule\frmLogin.aspx.cs    Line: 683

Stack Trace:


[FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).]
   System.Guid..ctor(String g) +410
   frmLogin.IdentifyReferer(String strReferrer) in d:\WebServerFiles\SBIWebApplications\WebModules\WebModule\frmLogin.aspx.cs:683
   frmLogin.Page_Init(Object sender, EventArgs e) in d:\WebServerFiles\SBIWebApplications\WebModules\WebModule\frmLogin.aspx.cs:46
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnInit(EventArgs e) +132
   System.Web.UI.Page.OnInit(EventArgs e) +16
   System.Web.UI.Control.InitRecursive(Control namingContainer) +143
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477


Version Information: Microsoft .NET Framework Version:2.0.50727.8972; ASP.NET Version:2.0.50727.8962