Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 29 Mar 2013 11:27 AM by  Steve L
Cannot access a closed resource set. Exception
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:
New Member


--
28 Mar 2013 09:52 AM

    Our System version is Microsoft Server 2003 R2, DotNetNuke 6.1.4, Revindex Storefront 4.5.3.

    The error message is appeared in the DNN event log viewer.

    IIS web server is alive and Other function is ok ,but Revindex ProductList Page is fail and show exception message!

    The Error message is blow:

    AssemblyVersion: 6.1.4

    PortalID: 13

    PortalName: 新呈工業股份有限公司

    UserID: -1

    UserName:

    ActiveTabID: 497

    ActiveTabName: Products

    RawURL: /zhtw/Products.aspx

    AbsoluteURL: /Default.aspx

    AbsoluteURLReferrer:

    UserAgent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)

    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

    ExceptionGUID: cf508a7f-c22f-40cd-a959-4b8fa694c09a

    InnerException: 無法存取關閉的資源集。

    FileName:

    FileLineNumber: 0

    FileColumnNumber: 0

    Method: System.Resources.RuntimeResourceSet.GetObject

    StackTrace:

    Message: DotNetNuke.Services.Exceptions.PageLoadException:Cannot access a closed resource。 ---> System.ObjectDisposedException: 無法存取關閉的資源集。 於 System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString) 於 System.Resources.RuntimeResourceSet.GetString(String key, Boolean ignoreCase) 於 System.Resources.ResourceManager.GetString(String name, CultureInfo culture) 於 System.Web.Resources.AtlasWeb.get_NumericPagerField_DefaultNextPageText() 於 System.Web.UI.WebControls.NumericPagerField.get_NextPageText() 於 System.Web.UI.WebControls.NumericPagerField.Equals(Object o) 於 System.Array.IndexOf(Array array, Object value, Int32 startIndex, Int32 count) 於 System.Collections.ArrayList.IndexOf(Object value) 於 System.Web.UI.StateManagedCollection.System.Collections.IList.IndexOf(Object value) 於 System.Web.UI.WebControls.DataPager.CreatePagerFields() 於 System.Web.UI.WebControls.DataPager.set_PageSize(Int32 value) 於 Revindex.Dnn.RevindexStorefront.Portals._default.DisplayTemplates.ProductList.Standard5.DisplayTemplate.ww9PSpe4F3XOWLbB9s1(Object , Int32 ) 於 Revindex.Dnn.RevindexStorefront.Portals._default.DisplayTemplates.ProductList.Standard5.DisplayTemplate.Page_Load(Object sender, EventArgs e) 於 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) 於 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) 於 System.Web.UI.Control.OnLoad(EventArgs e) 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Control.LoadRecursive() 於 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- 內部例外狀況堆疊追蹤的結尾 ---

    Source:

    0


    Veteran Member


    Posts:2951
    Veteran Member


    --
    28 Mar 2013 01:14 PM

    The generic error below indicates it's not able to access one of the resource files (.resx) that is needed for translating static text. You might want to try restarting your application in case you have another process or thread holding up a resource file (e.g. if you were editing a resource file but you didn't close it) or have your admin verify the permissions on the files in your system.

    Thanks,

    0


    New Member


    Posts:
    New Member


    --
    29 Mar 2013 02:59 AM

    Dear Sir,

    The Cannot access a closed resource set exception is occasional. So, it could be not issue about the permissions on the files.

    0


    Veteran Member


    Posts:2951
    Veteran Member


    --
    29 Mar 2013 11:27 AM

    In that case, it may be something is locking up the resource file and not releasing it to other processes. The Storefront doesn't access the resource files directly. In fact, all access to resource files are performed automatically by the DNN system (this is how static localization works in DNN). You may want to try upgrading your DNN version in case there's a bug that's holding up a resource file when it opens it and not releasing it back.

    0
    You are not authorized to post a reply.