MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Localization problem. Error when try to save localization. (Closed) (Mono Support )

Viewed 20474 time(s), 9 post(s) 12/12/2011 6:03:59 PMby Maxim

Related topics

Maxim

Maxim

12/12/2011 6:03:59 PM
Hi!

After enabling DBResource manager, when I try to change some text from translation at page "Administration/Portal Localization". After clicking "(S)ave" button I've got error:

2011-12-12 19:53:58,445 [7] ERROR MonoX [BaseHttpApplication] - Application Error
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at System.Resources.ResourceManager.ReleaseAllResources()
at MonoSoftware.Web.ResourceProviderModel.Providers.DBResourceManager.ReleaseAllResources()
at MonoSoftware.Web.ResourceProviderModel.BaseResourceManager.ClearLocalizationCache()
at MonoSoftware.Web.ResourceProviderModel.ResourceManagerProvider.ClearResourceCache()
at MonoSoftware.Web.ResourceProviderModel.Providers.ResourceDAL.SetResourceByCultureAndResourceKey(CultureInfo culture, String resourceKey, Object resourceValue)
at MonoSoftware.Web.ResourceProviderModel.Providers.DBResourceManager.Save(String source, CultureInfo culture, String resourceKey, Object resourceValue)
at MonoSoftware.MonoX.Admin.PortalLocalization.btnSave_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.monox_admin_portallocalization_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\d0c5615c\57f04171\App_Web_gvrpe1lt.6.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Can you help me with this problem?
This content has not been rated yet. 
319 Reputation 30 Total posts
khorvat

khorvat

12/13/2011 1:35:58 PM
Hi,

this is known issue with DBResourceProvider and .NET 4.0 and it will be fixed in next MonoX version. In a mean while you can try changing the following in the web.config and try if that works for you:
from:
<compilation ....... targetFramework="4.0">
to
<compilation ....... >

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
Maxim

Maxim

12/13/2011 3:06:20 PM
Unfortunately that's not helped me. :(
This content has not been rated yet. 
319 Reputation 30 Total posts
denis

denis

12/14/2011 6:26:20 PM
We will try to publish the new version with the fix for the DB resource provider ASAP (the standard resource infrastructure works without problems).
This content has not been rated yet. 
7207 Reputation 956 Total posts
DavidE-Tedeschi

DavidE.Tedeschi

4/7/2012 4:23:35 AM
This error seems to still be a problem with the latest release. Any progress on a fix for this?
This content has not been rated yet. 
130 Reputation 16 Total posts
khorvat

khorvat

4/7/2012 4:16:41 PM
Hi,

this is fixed but MonoX version that includes that fix isn't published yet. We can provide you with unofficial version around the Wednesday. Let me know if that suites you ?

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
khorvat

khorvat

4/13/2012 3:35:03 PM
Hi,

sorry for a delay, please find the URL to a new unofficial MonoX version in your InMail.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
panos-pag

panos.pag

2/28/2014 10:28:35 AM
Hello,

when changing the web.config from ResourceManager tyo DBResourceManager then the site crashes:

This event has been logged and will be addressed by the maintenance department. We appreciate your patience.
 
Object reference not set to an instance of an object.
at ASP.default_aspx.__BuildControlctlSlideShow() at ASP.default_aspx.__BuildControl__control6(Control __ctrl) at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) at System.Web.UI.WebControls.WebParts.WebPartZone.GetInitialWebParts() at System.Web.UI.WebControls.WebParts.WebPartManager.RegisterZone(WebZone zone) at System.Web.UI.WebControls.WebParts.WebZone.OnInit(EventArgs e) at MonoSoftware.MonoX.TemplatedWebPartZone.OnInit(EventArgs e) at MonoSoftware.MonoX.PortalWebPartZone.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
we are using MonoX v4.9.40.4845 [12/25/2013], DB v4.7.3842
This content has not been rated yet. 
390 Reputation 35 Total posts
khorvat

khorvat

2/28/2014 1:14:27 PM
Please open a new thread so we can help you.
This content has not been rated yet. 
15993 Reputation 2214 Total posts