问题描述:
DNN网站的很多模块和管理功能页面都报下面的错误:
1 Error: Edit Content is currently unavailable.
2 DotNetNuke.Services.Exceptions.ModuleLoadException:
3 External component has thrown an exception. ---> System.Web.HttpCompileException: External component has thrown an exception.
4 at System.Web.Compilation.AssemblyBuilder.Compile()
5 at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
6 at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
7 at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
8 at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
9 at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
10 at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
11 at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) in
12 E:\Development\DotNetNuke\InstallArea\DotNetNuke_04.08.03_Source\Library\Components\Skins\Skin.vb:line 492
尝试排除错误时又出现下面的错误:
1 Server Error in '/' Application.
2 --------------------------------------------------------------------------------
3
4 Compilation Error
5 Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
6
7 Compiler Error Message: The compiler failed with error code 1.
解决方法:
具体的解决方法参考文章:http://www.vcerror.com/?p=1890