Hello,
Could some one please help? I am stuck with this error.
Error:
Edit User Accounts is currently unavailable. (see stack trace below)
Its in this module Admin/Users/ManageUsers.ascx
And the error is
The base class includes the field 'ctlRoles', but its type (DotNetNuke.Modules.Admin.Security.SecurityRoles) is not compatible with the type of control (ASP.admin_security_securityroles_ascx) ...
At first I thought it could be some bug between the 64bit and 32bit versions of os or the framework but it doesn’t make sense. If that was the case then why would the other modules work ?
Home machine: AMD 64 with win 2003 server 64 bit
Hosting: on discountasp.net
DNN Version: 4.3.4
Problem:
when i login as admin or host on my home dev machine and try to edit the user account (Admin | User Account | All | then click on pencil next to admin account)
I can see the edit form perfectly. But when i try to do it after it’s deployed to the web hosting service. I get this error (i got the stack trace from the log viewer a handy thing click Admin | Log Viewer)
Anyone else encounterd this problem ? Thanks in advance.
Regards
Stack Trace:
ModuleId: 356
ModuleDefId: 15
FriendlyName: Edit User Accounts
ModuleControlSource: Admin/Users/ManageUsers.ascx
AssemblyVersion: 04.03.04
PortalID: 0
PortalName: SKMTech
UserID: 1
UserName: host
ActiveTabID: 45
ActiveTabName: User Accounts
RawURL: /Portal01/Admin/UserAccounts/tabid/45/ctl/Edit/mid/356/UserId/2/Default.aspx
AbsoluteURL: /Portal01/Default.aspx
AbsoluteURLReferrer: http://www.skmtech.com/Portal01/Admin/UserAccounts/tabid/45/filter/All/currentpage/1/PageRecords/10/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 2.0.50727; InfoPath.1)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 35eb6a63-317d-4ca1-ab5b-5d585fd533fd
InnerException: The base class includes the field 'ctlRoles', but its type (DotNetNuke.Modules.Admin.Security.SecurityRoles) is not compatible with the type of control (ASP.admin_security_securityroles_ascx).
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The base class includes the field 'ctlRoles', but its type (DotNetNuke.Modules.Admin.Security.SecurityRoles) is not compatible with the type of control (ASP.admin_security_securityroles_ascx). ---> System.Web.HttpParseException: The base class includes the field 'ctlRoles', but its type (DotNetNuke.Modules.Admin.Security.SecurityRoles) is not compatible with the type of control (ASP.admin_security_securityroles_ascx). ---> System.Web.HttpParseException: The base class includes the field 'ctlRoles', but its type (DotNetNuke.Modules.Admin.Security.SecurityRoles) is not compatible with the type of control (ASP.admin_security_securityroles_ascx). at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration(ControlBuilder builder) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) at System.Web.Compilation.TemplateControlCodeDomTreeGenerator.BuildMiscClassMembers() at System.Web.Compilation.BaseCodeDomTreeGenerator.BuildSourceDataTree() at System.Web.Compilation.BaseTemplateBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder) at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) --- End of inner exception stack trace --- at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() 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) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(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.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
Source:
Server Name: WEB127