470,628 Members | 2,316 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,628 developers. It's quick & easy.

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

Hi!
I have a problem with publishing my solution. I use “Use fixed naming and single page assemblies” to publish. So I just can update one and one file, this works fine, but today I had to update my master.page


My master page is called “FrontPageMaster.master”. I have only changed some html in the master page and not done anything with the master.cs


When I’m in the bin folder and update the file:


App_Web_frontpagemaster.master.cdcab7d2.dll


I get a question to overwrite, and I click yes.


But when I run the site I get the error:


Server Error in '/' Application.


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

Exception Details: System.Web.HttpException: The file '/FrontPageMaster.master' does not exist. Stack Trace: [HttpException (0x80004005): The file '/FrontPageMaster.master' does not exist.] System.Web.UI.Util.CheckVirtualFileExists(VirtualP ath virtualPath) +3480779 System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +109 System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93 System.Web.Compilation.BuildManager.GetVPathBuildR esult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +60 System.Web.UI.MasterPage.CreateMaster(TemplateCont rol owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +103 System.Web.UI.Page.get_Master() +48 System.Web.UI.Page.ApplyMasterPage() +18
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +543


When I switch back to the old dll, it works fine again.


The top of the masterpage file is the same as before:

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="FrontPageMaster.master.cs" Inherits="FrontPageMaster" %>
Does anyone have a suggestion to how to update the masterpage gui file(.master) when the site is published with ““Use fixed naming and single page assemblies” or see what I’m doing wrong? What is the “FrontPageMaster.master” page compiled under since I can’t see it?


Thanks for help :)
Jan 5 '08 #1
0 1462

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

11 posts views Thread by Thomas Mlynarczyk | last post: by
3 posts views Thread by Kevin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.