2

我希望你能帮我解决这个问题:

我正在尝试通过在名为“blogs”的子文件夹中添加 BlogEngine 项目来将 BlogEngine 添加到我现有的网站。但是,我遇到了以下错误(见下文)。

“Site.Master”放置在项目中的正确文件夹和正确位置

我有,

  1. 确保文件夹上的安全设置允许访问项目中的用户帐户。
  2. 试图将 CodeFile 更改为 Codebehind 但我仍然收到此错误。

另外,我的根目录中已经有一个“Site.Master”。这可能是原因吗?它不能区分两个 .master 站点吗?

请帮忙。它让我疯狂!

我在 Microsoft Visual Web Developer 中建立了网站

 __Server Error in '/' Application.
    --------------------------------------------------------------------------------__
    The file '/themes/Standard/site.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 '/themes/Standard/site.master' does not  exist.
__
Source Error: 


 An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 

[HttpException (0x80004005): The file '/themes/Standard/site.master' does not exist.]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +9922708
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +475
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +103
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +148
   System.Web.UI.Page.get_Master() +54
   System.Web.UI.Page.ApplyMasterPage() +14
   System.Web.UI.Page.PerformPreInit() +45
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +335
4

0 回答 0