-1

I am getting an error after upgrading DNN 6.X site to DNN 7.0.6 version, while accessing host pages and admin controls. I'd appreciate it if you have any idea how to solve this issue. The site is hosted on a shared server.

The error is:

Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: External component has thrown an exception. ---> System.Web.HttpCompileException: External component has thrown an exception. at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.WebFormsModuleControlFactory.CreateModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---

4

1 回答 1

0

不完全确定,但您可以尝试暂时删除 App_code 文件夹中的所有文件,看看是否仍然出现此错误。我认为编译器只有在该文件夹中有源代码时才会启动。

也可能是 asp.net 版本冲突,DotNetNuke 7 需要 asp.Net 4 而 DotNetNuke 支持 Asp.Net 3.5,您可以在主机控制面板中验证这一点。

于 2013-09-11T03:34:43.240 回答