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. (Zatvorena) (Mono Support )

23370 put(a) pogledan, 9 odgovor(a) 12.12.2011. 18:03:59Kreirao(la) Maxim

Povezane teme

Maxim

Maxim

12.12.2011. 18:03:59
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?
Ovaj sadržaj još nije ocijenjen. 
319 Reputacija 30 Ukupno objava
khorvat

khorvat

13.12.2011. 13:35:58
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
Maxim

Maxim

13.12.2011. 15:06:20
Unfortunately that's not helped me. :(
Ovaj sadržaj još nije ocijenjen. 
319 Reputacija 30 Ukupno objava
denis

denis

14.12.2011. 18:26:20
We will try to publish the new version with the fix for the DB resource provider ASAP (the standard resource infrastructure works without problems).
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
DavidE-Tedeschi

DavidE.Tedeschi

7.4.2012. 4:23:35
This error seems to still be a problem with the latest release. Any progress on a fix for this?
Ovaj sadržaj još nije ocijenjen. 
130 Reputacija 16 Ukupno objava
khorvat

khorvat

7.4.2012. 16:16:41
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
khorvat

khorvat

13.4.2012. 15:35:03
Hi,

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

Regards
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
panos-pag

panos.pag

28.2.2014. 10:28:35
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
Ovaj sadržaj još nije ocijenjen. 
390 Reputacija 35 Ukupno objava
khorvat

khorvat

28.2.2014. 13:14:27
Please open a new thread so we can help you.
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava