C# 主题';默认值';在应用程序中找不到
我有一个错误:C# 主题';默认值';在应用程序中找不到,c#,episerver,C#,Episerver,我有一个错误: Theme 'Default' cannot be found in the application or global theme directories Stack Trace: [HttpException (0x80004005): Theme 'Default' cannot be found in the application or global theme directories.] System.Web.Compilation.ThemeDirector
Theme 'Default' cannot be found in the application or global theme directories
Stack Trace:
[HttpException (0x80004005): Theme 'Default' cannot be found in the application or global theme directories.]
System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(String themeName) +920
System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(HttpContext context, String themeName) +73
System.Web.UI.Page.InitializeThemes() +8699455
System.Web.UI.Page.PerformPreInit() +38
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282
我的问题是,我从未改变过主题。
我有时会在不同的页面上遇到这个错误。我不知道这是否是某个软件(EPIServer6、IIS、WindowsServer)中的错误,或者服务器的硬盘是否有问题
有人对这个问题有想法。
我知道这是一个骗人的问题,但我不知道这个问题
检查您的epserver.config,虚拟路径是否正确
<add virtualPath="~/App_Themes/Default/" physicalPath="C:\Program Files\EPiServer\CMS\6.1.379.0\application\App_Themes\Default" name="App_Themes_Default" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
如果您在64位和32位机器之间切换,可能会感到困惑您是否有App_Themes文件夹?我以前的EPI6项目我刚刚完全删除了那个文件夹。如果你有它,你可以尝试将它重命名为其他名称,看看是否有帮助。是的,我有。我今天发了一封电子邮件给EpiServer支持,询问那里的人是否有一些建议。是的,有。我相信问题是硬盘的问题。