After upgrading to the latest (2.3.6.5 and 2.3.6.4) version of MojoPortal all of my custom modules stopped working to some extent. My modules are very simple and don't have any resource files, they all exist of only a .ascx page and then the module installation done from the admin>tools>features>install area.
From there I added the path to the .ascx, custom GUID and resource name. Then I went into the settings and added some items like color, width, height, etc. I gave each a setting key and nothing more.
After that's done I could drop the modules on a page and go into the module settings and filling in the settings on a per module basis (like add the color, height, width, etc).
This had been working great up until the last couple Mojo upgrade. Now when I click on a module settings I see the admin screen as normal where I can input the values, but when I press save I get an error screen. Nothing else changed except the upgrade of Mojo. Any ideas? The error message is posted below:
2011-04-19 15:19:11,710 ERROR mojoPortal.Web.AdminUI.ModuleSettingsPage - ModuleSettings.aspx.cs error getting resource for s.SettingName Height
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.AdminUI.ModuleSettingsPage.AddSettingControl(CustomModuleSetting s, Panel groupPanel)
2011-04-19 15:19:11,710 ERROR mojoPortal.Web.AdminUI.ModuleSettingsPage - ModuleSettings.aspx.cs error getting resource for s.SettingName Width
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.AdminUI.ModuleSettingsPage.AddSettingControl(CustomModuleSetting s, Panel groupPanel)
2011-04-19 15:19:11,710 ERROR mojoPortal.Web.AdminUI.ModuleSettingsPage - ModuleSettings.aspx.cs error getting resource for s.SettingName BackgroundColor
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.AdminUI.ModuleSettingsPage.AddSettingControl(CustomModuleSetting s, Panel groupPanel)
2011-04-19 15:19:11,710 ERROR mojoPortal.Web.AdminUI.ModuleSettingsPage - ModuleSettings.aspx.cs error getting resource for s.SettingName ImagePath
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.AdminUI.ModuleSettingsPage.AddSettingControl(CustomModuleSetting s, Panel groupPanel)
2011-04-19 15:19:11,725 ERROR mojoPortal.Web.mojoBasePage - 24.209.184.31-en-US - /Admin/ModuleSettings.aspx?mid=44&pageid=0
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Resources..resources" was correctly embedded or linked into assembly "App_GlobalResources.c_8gkf6v" at compile time, or that all the satellite assemblies required are loadable and fully signed.
at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName)
at System.Web.UI.TemplateControl.GetGlobalResourceObject(String className, String resourceKey)
at mojoPortal.Web.AdminUI.ModuleSettingsPage.btnSave_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2011-04-19 15:19:11,741 ERROR mojoPortal.Web.Global - 24.209.184.31-en-US - /Admin/ModuleSettings.aspx?mid=44&pageid=0
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Resources..resources" was correctly embedded or linked into assembly "App_GlobalResources.c_8gkf6v" at compile time, or that all the satellite assemblies required are loadable and fully signed.
at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Web.Compilation.ResourceExpressionBuilder.GetResourceObject(IResourceProvider resourceProvider, String resourceKey, CultureInfo culture, Type objType, String propName)
at System.Web.UI.TemplateControl.GetGlobalResourceObject(String className, String resourceKey)
at mojoPortal.Web.AdminUI.ModuleSettingsPage.btnSave_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)