过去几周已经尝试让DNN得到答案,为什么会发生这种情况 - 并且没有得到回复。
在WinHost上全新安装DNN7时,当我尝试添加新页面时出现以下错误:
Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException:
e:\web\speedyto\DesktopModules\Admin\Tabs\ManageTabs.ascx.cs(2):
error CS1056: Unexpected character '' ---> System.Web.HttpCompileException:
e:\web\speedyto\DesktopModules\Admin\Tabs\ManageTabs.ascx.cs(2): error CS1056: Unexpected character '' 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.Compilation.BuildManager.GetVPathBuildResultWithAssert(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 ---
我希望有人能指出我正确的方向。
答案 0 :(得分:0)
我建议在本地计算机上安装完全相似版本的dotnetnuke并尝试重新生成问题。如果没有重新生成,请覆盖您的主机副本中的\DesktopModules\Admin\Tabs\ManageTabs.ascx.cs
文件。
我相信这会帮助你采取一些方向。如果你能提供dotnetnuke的精确构建版本(当前版本是07.00.04),我可以提出更多解决方案。