CDMeyer
Nuke Pro Posts:63
|
02/01/2011 2:13 PM |
|
Hello I have a DNN site that was working fine but after I upgraded to 5.6.0.1 I get an error when I try to access the settings of a module. Here is the error. Any ideas on how to fix this?
Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: D:\HostedSites\Budgetbusinessmarketing.com\Admin\Modules\ModuleLocalization.ascx.vb(198): error BC30455: Argument not specified for parameter 'locale' of 'Public Sub LocalizeModule(sourceModule As En ies.Modules.ModuleInfo, locale As Services.Localization.Locale)'. ---> System.Web.HttpParseException: D:\HostedSites\Budgetbusinessmarketing.com\Admin\Modules\ModuleLocalization.ascx.vb(198): error BC30455: Argument not specified for parameter 'locale' of 'Public Sub LocalizeModule(sourceModule As En ies.Modules.ModuleInfo, locale As Services.Localization.Locale)'. ---> System.Web.HttpCompileException: D:\HostedSites\Budgetbusinessmarketing.com\Admin\Modules\ModuleLocalization.ascx.vb(198): error BC30455: Argument not specified for parameter 'locale' of 'Public Sub LocalizeModule(sourceModule As En ies.Modules.ModuleInfo, locale As Services.Localization.Locale)'. 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.ModuleHost.LoadModuleControl() --- End of inner exception stack trace --- |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/01/2011 2:43 PM |
|
As the errors refer to a missing setting for "Locale" I'd surmise that the error has to do with localization. Is this a multiple-language site? I would check the localization settings in both the Host and Admin areas to make sure that a default language is assigned and is active. If that doesn't work, some more details on the issue would be helpful. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
CDMeyer
Nuke Pro Posts:63
|
02/01/2011 2:57 PM |
|
It's not a multi language site, just english. Where do I look for the localization settings? (sorry, I'm new). While looking for the localizations I noticed that when I click Languages and Configuration Manager I get similar errors. Does that shed any light?
Thanks |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/01/2011 6:11 PM |
|
Start with Host Settings, Other Settings and uncheck the box that allows Content Localization.
Then go to Admin, Languages and make sure that there is a default language set and enabled.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
CDMeyer
Nuke Pro Posts:63
|
02/01/2011 7:21 PM |
|
The content localization box was already unchecked and I get this error when I click on languages...
Error: Language Editor is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: D:\HostedSites\Budgetbusinessmarketing.com\DesktopModules\Admin\Languages\LanguageEnabler.ascx(227): error BC30456: 'publishPages' is not a member of 'ASP.desktopmodules_admin_languages_languageenabler_ascx'. ---> System.Web.HttpCompileException: D:\HostedSites\Budgetbusinessmarketing.com\DesktopModules\Admin\Languages\LanguageEnabler.ascx(227): error BC30456: 'publishPages' is not a member of 'ASP.desktopmodules_admin_languages_languageenabler_ascx'. 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.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.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/01/2011 7:32 PM |
|
Do you have any third party of custom modules?
Which version of DotNetNuke did you upgrade from?
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
CDMeyer
Nuke Pro Posts:63
|
02/01/2011 8:00 PM |
|
I believe it was 5.5.0. Is it possible this has something to do with the skin? I just checked a site I have that uses a custom skin for the public page and the MinimalExtopy skin for the admin and I don't have the same problem. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/02/2011 7:56 AM |
|
Yes, it could be the skin. Temporarily switch the site's skin to Minimal Extropy. If the problem goes away, then it is the skin.
Most likely, the problem would be the menu as that does include localization. Which menu is being used?
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Cory Ellenberger
Nuke Newbie Posts:5
|
02/04/2011 11:01 AM |
|
I am coming across this issue as well, I just downloaded the new updates - ever since I have received this error whenver I try to go into the Settings of any module. I have tried changing the Skins to Minimal Extropy as you suggested - this does not work. I have also checked to make sure Localization was unchecked - it was. Language set to English which is the only type allowed.
I have also just downloaded some new Modules, unsure if this would cause the problem
See error below - similar if not an exact mirror of the error shown above.
DotNetNuke.Services.Exceptions.ModuleLoadException: C:\Inetpub\wwwroot\PublishingTool\Admin\Modules\ModuleLocalization.ascx.vb(198): error BC30455: Argument not specified for parameter 'locale' of 'Public Sub LocalizeModule(sourceModule As En ies.Modules.ModuleInfo, locale As Services.Localization.Locale)'. ---> System.Web.HttpParseException: C:\Inetpub\wwwroot\PublishingTool\Admin\Modules\ModuleLocalization.ascx.vb(198): error BC30455: Argument not specified for parameter 'locale' of 'Public Sub LocalizeModule(sourceModule As En ies.Modules.ModuleInfo, locale As Services.Localization.Locale)'. ---> System.Web.HttpCompileException: C:\Inetpub\wwwroot\PublishingTool\Admin\Modules\ModuleLocalization.ascx.vb(198): error BC30455: Argument not specified for parameter 'locale' of 'Public Sub LocalizeModule(sourceModule As En ies.Modules.ModuleInfo, locale As Services.Localization.Locale)'. 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.ModuleHost.LoadModuleControl() --- End of inner exception stack trace --- |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/04/2011 11:26 AM |
|
Is there any way for me to look at your site?
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Cory Ellenberger
Nuke Newbie Posts:5
|
02/04/2011 11:36 AM |
|
The site is within a Company Intranet, and behind a firewall. So no What are you needing to see? |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/04/2011 11:39 AM |
|
Not sure, but sometimes it helps to be able to look at the site, look at configuration issues, etc. Then, sometimes answers spring to mind.
If you've successfully switched the site to a Minimal Extropy skin, look at third-party modules.
(For one site that was particularly difficult, I made a copy and, using the copy, started uninstalling modules one at a time until I found what was causing the problem I was having.)
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Cory Ellenberger
Nuke Newbie Posts:5
|
02/04/2011 12:36 PM |
|
I've tried uninstalling the modules that I installed that were an addition to the install modules. I have also switched skins to Minimal Extropy again and tested. Nothing seems to be working. Do you know if using the "Enable Localized Content" might fix it? I am afraid to test - as this will be a permanent change. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/04/2011 12:44 PM |
|
I recommend that you do your testing and experimentation on a copy of the site. That way, there's nothing fatal that you can do.
As for your question, I'm not sure what the problem is, so it's hard to guess what might happen.
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
CDMeyer
Nuke Pro Posts:63
|
02/08/2011 10:03 AM |
|
Any solutions yet for anyone? I'm still having the problem without any success. Thanks. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/08/2011 10:29 AM |
|
Googling on your error turned up this comment in a DotNetNuke forum: "It appears that the version 5.4.4 file DesktopModules\Admin\HostSettings\HostSettings.ascx.vb did not properly overwrite the version 5.2.2 file of the same name when you extracted the upgrade package and copied its contents over the existing files. It is quite possible that other new files did not extract properly as well. Try right clicking over the upgrade zip file, select "Properties" from the context menu, and check if there is an "Unblock" button showing on the properties dialog. If so, click the "Unblock" button then try extracting the files from the zip package again and copy them over those of the existing site. The blocking of certain harmful files and the availability of an "Unblock" button is a relatively new security feature added to the windows zip extraction of remotely downloaded zip archives. Make sure that you OK any files of the same name to overwrite those of the existing site." So ... possibly the problem was a faulty file copy doing the upgrade. As noted, the thing to try is copying the upgrade package over your site again. As per other recommendations, make sure that you have a good copy of the site and database before you do this. If possible, do this on a working copy of the site ... just in case. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Cory Ellenberger
Nuke Newbie Posts:5
|
02/08/2011 2:05 PM |
|
Thanks Joe, I re-downloaded the Update Zip from the DNN website. Copy/Paste the files over again after using the Unblock button. Then I used the Install page again. Now all the Settings are workings. |
|
|
|
|