我希望你能帮我解决这个问题:
我试图通过在名为“blogs”的子文件夹中添加BlogEngine项目,将BlogEngine添加到我现有的网站。但是,我遇到了以下错误(见下文)。
“Site.Master”放置在正确的文件夹中,并在项目中正确放置
我有,
另外,我的根目录中已经有一个“Site.Master”。这可能是原因吗?是不是能够区分这两个.master-sites?
请帮忙。它让我发疯了!
我在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