I've been working on a new module locally (DNN 07.04.00) for some time. The module is working fine.
Today I tried to browse to my Site Settings in the Admin menu (as I need to set up some custom user profile properties) and I get the following error. I have another dnn site on my dev machine that does not have this issue. How can I work out what the problem is? I haven't edited sitesettings.ascx or anything else in this part of the site. What could have caused this? The only thin g I did remotely in this region recently was I started using some of the DNN wrapped Telerik controls in my module, and to support that I copied some dll files around my DesktopModules bin folders (but not anywhere near Admin). I can't think of anything else that might be interfering.
Error: Site Settings is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: c:\LocalWebsites\dnn\DesktopModules\Admin\Portals\SiteSettings.ascx.cs(934): error CS1061: 'DotNetNuke.Web.UI.WebControls.DnnPageDropDownList' does not contain a definition for 'Roles' and no extension method 'Roles' accepting a first argument of type 'DotNetNuke.Web.UI.WebControls.DnnPageDropDownList' could be found (are you missing a using directive or an assembly reference?) ---> System.Web.HttpCompileException: c:\LocalWebsites\dnn\DesktopModules\Admin\Portals\SiteSettings.ascx.cs(934): error CS1061: 'DotNetNuke.Web.UI.WebControls.DnnPageDropDownList' does not contain a definition for 'Roles' and no extension method 'Roles' accepting a first argument of type 'DotNetNuke.Web.UI.WebControls.DnnPageDropDownList' could be found (are you missing a using directive or an assembly reference?) 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.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---