Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 5th, 2008, 01:28 PM
Registered User
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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 :)





Similar Threads
Thread Thread Starter Forum Replies Last Post
cross-page posting within pages with master file.. poogles ASP.NET 2.0 Basics 2 August 6th, 2007 05:11 AM
Master Page File Reference bandrsolutions ASP.NET 2.0 Basics 2 February 7th, 2007 12:26 PM
master page or #include file aspsuraj BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 December 2nd, 2006 02:17 PM
PPO.Master does not exist NJJim BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 July 13th, 2006 05:51 AM
Me Again... Keywords: Javascript, File Exist rolandatem Javascript 3 November 16th, 2004 04:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.