Server Error in '/' Application.

The file '/templates/.master' does not exist.

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.Web.HttpException: The file '/templates/.master' does not exist.

Source Error:


Line 89: 
Line 90:                 // find the placeholder to put the html
Line 91:                 ContentPlaceHolder cph = (ContentPlaceHolder)Master.FindControl("theHTML");
Line 92:                 cph.Controls.Add(theHtml);
Line 93:             }

Source File: d:\Websites\montpelliercreative.com\Home.aspx.cs    Line: 91

Stack Trace:


[HttpException (0x80004005): The file '/templates/.master' does not exist.]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +11206834
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +163
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +116
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +175
   System.Web.UI.Page.get_Master() +69
   Home.Page_PreInit(Object sender, EventArgs e) in d:\Websites\montpelliercreative.com\Home.aspx.cs:91
   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.Page.OnPreInit(EventArgs e) +11155518
   System.Web.UI.Page.PerformPreInit() +42
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1256


Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5491