Forum


HomeHomePublicPublicAdministrationAdministrationdnn 6 upgrade now cannot add page dnn 6 upgrade now cannot add page
Previous
 
Next
New Post
9/26/2012 7:27 AM
 

Hi All

I have just upgraded my site to dnn 6.02.03 and everything looks great and seems to work apart from one thing. I cannot access the page settings and get a great big error message if I try to modify any page settings.

Does anyone know what could be causing this. The error is

Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: e:\Domains\karatekidshemel.co.uk\wwwroot\DesktopModules\Admin\Tabs\TabLocalization.ascx.cs(1): error ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). ---> System.Web.HttpParseException: e:\Domains\karatekidshemel.co.uk\wwwroot\DesktopModules\Admin\Tabs\TabLocalization.ascx.cs(1): error ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). ---> System.Web.HttpCompileException: e:\Domains\karatekidshemel.co.uk\wwwroot\DesktopModules\Admin\Tabs\TabLocalization.ascx.cs(1): error ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl). at System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath) at System.Web.Compilation.BuildManager. GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode) at System.Web.Compilation.BuildManager. GetVPathBuildResultFromCacheInternal(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.BaseTemplateParser. GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile) at System.Web.UI. BaseTemplateParser. GetUserControlType(VirtualPath virtualPath) at System.Web.UI.MainTagNameToTypeMapper. ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry) at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser. ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser. ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseReader(StreamReader reader, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser .ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.UI.TemplateParser. Parse(ICollection referencedAssemblies, VirtualPath virtualPath) at System.Web.Compilation. BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(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.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.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 ---

 
New Post
9/26/2012 8:03 AM
 

Hi Sharon,

Via FTP, have a look at this file \DesktopModules\Admin\Tabs\TabLocalization.ascx.cs to make sure it has some code inside. I have seen reports like that and the problem was about corrupted files.

Cheers,

Aderson

 
New Post
9/26/2012 8:23 AM
 

Wow Aderson 

You were spot on thank you so much. The file you mentioned was indeed empty so as soon as I uploaded the file again it was working perfectly.

Thanks again - you are a real DNN Hero :)

Sharon

 
New Post
9/26/2012 9:11 AM
 

I'm glad it worked Sharon! Cheers,

Aderson

 
Previous
 
Next
HomeHomePublicPublicAdministrationAdministrationdnn 6 upgrade now cannot add page dnn 6 upgrade now cannot add page



Try FREE
30 days money back guaranteed