We have a website with two child portals, DNN 6.1.4. One of the sites throws this error when you go to it, the other two sites come up fine.
If I change from the Ribbon to the Icon bar, the sites work.
An error has occurred. DotNetNuke.Services.Exceptions.PageLoadException: c:\clients\BlackForestFarm\admin\ControlPanel\RibbonBar.ascx(29): error CS0433: The type 'ASP.admin_controlpanel_addmodule_ascx' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\31c497d9\6f210d18\App_Web_kcptozis.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\31c497d9\6f210d18\App_Web_u7-pxjne.dll' ---> System.Web.HttpCompileException: c:\clients\BlackForestFarm\admin\ControlPanel\RibbonBar.ascx(29): error CS0433: The type 'ASP.admin_controlpanel_addmodule_ascx' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\31c497d9\6f210d18\App_Web_kcptozis.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\31c497d9\6f210d18\App_Web_u7-pxjne.dll' at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Skins.Skin.InjectControlPanel() at DotNetNuke.UI.Skins.Skin.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
I see the error is:
The type 'ASP.admin_controlpanel_addmodule_ascx' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\31c497d9\6f210d18\App_Web_kcptozis.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\31c497d9\6f210d18\App_Web_u7-pxjne.dll'
Why is only one of the sites affected?
How do I resolve this so we can use the Ribbon Bar?
Thanks.