Server Error in '/' Application.

The property could not be determined from the host header.

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.ApplicationException: The property could not be determined from the host header.

Source Error:


Line 38:         }
Line 39:         else
Line 40:             throw new ApplicationException("The property could not be determined from the host header.");
Line 41:        
Line 42: 

Source File: f:\www\cmcapt_property.com\App_Code\BasePage.cs    Line: 40

Stack Trace:


[ApplicationException: The property could not be determined from the host header.]
   BasePage.OnPreInit(EventArgs e) in f:\www\cmcapt_property.com\App_Code\BasePage.cs:40
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +663


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433