PageLoadException with DNN

2 posts, 0 answers
  1. Ye
    Ye avatar
    1 posts
    Member since:
    Mar 2010

    Posted 17 Jan 2013 Link to this post

    I have some Dotnetnuke websites using Telerik ORM, one of the websites shows the error message "A critial error has occurred" sometimes. Recycling IIS pool resolve the problem. Below is the exception log for this error. Is there any way to prevent this from happening in future. Thanks.
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: d6ac5fca-628f-4ca1-9b1b-f01ff00addf8
    InnerException: Value cannot be null. Parameter name: key
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.ThrowHelper.ThrowArgumentNullException
    StackTrace:
    Message: DotNetNuke.Services.Exceptions.PageLoadException: Value cannot be null. Parameter name: key ---> System.ArgumentNullException: Value cannot be null. Parameter name: key at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value) at Telerik.OpenAccess.RT.NotifyingDictionary`2.set_Item(K key, V value) at Telerik.OpenAccess.SPI.PropertySet.CopyTo(PropertySet target) at Telerik.OpenAccess.Config.ConfigManager..ctor(Assembly[] _rootAssemblies, String con, XmlElement _configOverride, XmlElement gen, Assembly _callingAssembly, BackendConfiguration beConfig) at Telerik.OpenAccess.SPI.Backends.CreateRuntimeConfigManager(String connectionId, XmlElement configOverride, Assembly[] entryAssemblies, Assembly callingAssembly, BackendConfiguration props) at Telerik.OpenAccess.DBRegistry.GetDatabase(String urlOrConnectionId, XmlElement configOverride, Assembly[] entryAssemblies, Assembly callingAssembly, MetadataContainer metaContainer, BackendConfiguration beConfig) at Telerik.OpenAccess.BackendConfiguration.GetDatabase(String name, Assembly calling, MetadataContainer metadataContainer, DBRegistry reg) at Telerik.OpenAccess.Database.Get(String connectionString, BackendConfiguration backendConfiguration, MetadataContainer metadataContainer) at Telerik.OpenAccess.OpenAccessContextBase.GetScope() at Telerik.OpenAccess.OpenAccessContext.GetAll[T]() at Opg.Data.OpgContext.get_Configs() in C:\Microsoft\Workspace\opg\Opg.Data\OpgEntityDiagram.cs:line 76 at ConfigUtils.GetConfigValue(String PConfigName) in e:\inetpub\scripts\mcys_opg\App_Code\CS\ConfigUtils.cs:line 32 at OpgControls.OpgFrontEnd.OpgEvent.OpgFtEventLatestWidget.Page_Load(Object sender, EventArgs e) in e:\inetpub\scripts\mcys_opg\controls\OpgControls\OpgFrontEnd\OpgEvent\OpgFtEventLatestWidget.ascx.cs:line 41 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
    Source:
  2. Ady
    Admin
    Ady avatar
    588 posts

    Posted 22 Jan 2013 Link to this post

    Hi Ye,

    Are you sure that the website uses the latest OpenAccess assemblies (2012.3.1209)?  We have fixed this problem in this version. If these assemblies are indeed being used can you provide us the code that is used to instantiate the context and also how the BackendConfiguration instance that is used to instantiate the context is used?

    All the best,
    Ady
    the Telerik team
    Q3'12 SP1 of OpenAccess ORM packs Multi-Table Entities mapping support. Check it out.
  3. DevCraft banner
Back to Top