Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Language Editor - System.OutOfMemoryExceptionLanguage Editor - System.OutOfMemoryException
Previous
 
Next
New Post
5/21/2009 9:42 AM
 

I keep getting the following errors when I try and edit the \App_GlobalResources\GlobalResources.resx file via the Language Editor.

 

The first one is

A File Operation Failed. Please Check Resource File Permissions So Files Can Be Edited.

I think this is due to the files/folder having read only access. I think this a hangover from the recent upgrade I carried out (4.9.0 --> 4.9.3) and I am looking at fixing this now.

The second error however looks far more serious as I keep getting this:

AssemblyVersion: 04.09.03
PortalID: 329
PortalName: ****
UserID: 1
UserName: host
ActiveTabID: 19404
ActiveTabName: Languages
RawURL: /****/Admin/Languages/tabid/19404/ctl/language/mid/26674/language/en-GB/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://****.********.com/isuitev2/Admin/Languages/tabid/19404/ctl/language/mid/26674/language/en-GB/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: fa2f4058-e9ba-48a4-9f75-6c86b1e818fc
InnerException: Exception of type 'System.OutOfMemoryException' was thrown.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.GetStringForStringBuilder
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)at System.Convert.ToBase64String(Byte[] inArray, Int32 offset, Int32 length, Base64formattingOptions options)at System.Web.UI.ObjectStateformatter.Serialize(Object stateGraph)at System.Web.UI.ObjectStateformatter.System.Web.UI.IStateformatter.Serialize(Object state)at System.Web.UI.Util.SerializeWithAssert(IStateformatter formatter, Object stateGraph)at System.Web.UI.HiddenFieldPageStatePersister.Save()at System.Web.UI.Page.SavePageStateToPersistenceMedium(Object state)at System.Web.UI.Page.SaveAllState()at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---
Source:
Server Name: *****

The error happens almost instantly with no sign of the browser/portal hanging. The rest of the portal appears to be working fine.

Does anyone have any ideas as to what could be suddenly causing this?


Blue & White hooped blood runs through my veins!
 
New Post
5/21/2009 9:54 AM
 

ad 1) Please make sure, ASP.net account has full permissions for DNN installation folder and all subfolders.

ad 2) out of memory might be caused by a malformed resource file. please make sure, the file is valid XML.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/21/2009 10:19 AM
 

1. The App_GlobalResources folder has the correct permissions and all the files in the folder are NOT read only, but I am still getting the first error.

Update: Just noticed that although all the files in the App_GlobalResources folder are marked as NOT read only, the actual folder itself is marked as Read-Only. I have tried a few times to change this, but it alwyas seems to resort back to being read-only????????

 

2. I will check the necessary resource file to see if it is valid XML.


Blue & White hooped blood runs through my veins!
 
New Post
5/21/2009 11:07 AM
 

Folders always show write protect, this option is only provided to apply this flag to all files inside. (I agree, this is not best practice of UI design)

maybe the issue is caused by malformed file structure as well.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/22/2009 6:20 AM
 

OK can someone please explain how the GlobalResources.resx files work?

  1. In my development portal I used the Language Editor to change the text for the Admin.String. I clicked on Update and all appeared to have worked OK.
  2. When I check the App_GlobalResources folder, I find that the GlobalResources.resx file has not changed, but there is a new file called GlobalResources.Portal-0.resx which contains my change.  OK I get that, as my portal is portal 0 and a new file is created that is portal independent - a good idea.
  3. However I then logged out of my portal, then signed in again. I went to the Language editor to check the text for my Admin.String. What I saw though was the contents of the GlobalResources.resx file NOT the GlobalResources.Portal-0.resx contents. Why is this?
  4. Anyway, I reapplied my change to the Admin.String and clicked on update and guess what, I got the error:  A File Operation Failed. Please Check Resource File Permissions So Files Can Be Edited.

 

So can someone please explain how this is supposed to work?

Did I miss a trick when I went into the Language editor for the second time - I can't see any option to select the portal-0 file?

Is this editor a once only chance? That surely cannot be correct?

Have I stumbled upon a bug in DNN? Surely I can't be the first person to edit this file more than once?

Is it a bug in the one of the latest releases (4.9.1, 4.9.2, 4.9.3) ? I am sure it worked OK in v4.9.0 - we only upgraded to 4.9.3 a week ago.

 


Blue & White hooped blood runs through my veins!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Language Editor - System.OutOfMemoryExceptionLanguage Editor - System.OutOfMemoryException


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out