Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Exception of type 'System.OutOfMemoryException' was thrown.

  1. #1
    omkarv is offline Junior Member
    Join Date
    Jan 2012
    Posts
    2

    Post Exception of type 'System.OutOfMemoryException' was thrown.

    Hi, we are using AspDotNetStorefront ML 9.1.0.0 for acabookstore.org. It was running well but suddenly getting following error.

    Please Help.
    Thanks.

    Server Error in '/' Application.
    Exception of type 'System.OutOfMemoryException' was thrown.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    Source Error:


    Line 26: {
    Line 27: // Get the Routes from Web.config
    Line 28: RouteSection config = (RouteSection) ConfigurationManager.GetSection("system.web/routeTable");
    Line 29: if (config == null) return;
    Line 30:


    Source File: c:\inetpub\vhosts\acabookstore.org\httpdocs\App_Co de\RegisterRoutes.cs Line: 28

    Stack Trace:


    [OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
    System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
    System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
    System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
    System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
    System.Reflection.Assembly.Load(String assemblyString) +28
    System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String assemblyName, Boolean starDirective) +46

    [ConfigurationErrorsException: Exception of type 'System.OutOfMemoryException' was thrown.]
    System.Configuration.BaseConfigurationRecord.FindA ndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere) +272
    System.Configuration.BaseConfigurationRecord.GetSe ctionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +1431
    System.Configuration.BaseConfigurationRecord.GetSe ction(String configKey, Boolean getLkg, Boolean checkPermission) +56
    System.Configuration.BaseConfigurationRecord.GetSe ction(String configKey) +8
    System.Web.HttpContext.GetSection(String sectionName) +47
    System.Web.Configuration.HttpConfigurationSystem.G etSection(String sectionName) +39
    System.Web.Configuration.HttpConfigurationSystem.S ystem.Configuration.Internal.IInternalConfigSystem .GetSection(String configKey) +6
    System.Configuration.ConfigurationManager.GetSecti on(String sectionName) +78
    AspDotNetStorefront.RegisterRoutes.Init(HttpApplic ation application) in c:\inetpub\vhosts\acabookstore.org\httpdocs\App_Co de\RegisterRoutes.cs:28
    System.Web.HttpApplication.RegisterEventSubscripti onsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +406
    System.Web.HttpApplication.InitSpecial(HttpApplica tionState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +188
    System.Web.HttpApplicationFactory.GetSpecialApplic ationInstance(IntPtr appContext, HttpContext context) +295
    System.Web.HttpApplicationFactory.GetPipelineAppli cationInstance(IntPtr appContext, HttpContext context) +56
    System.Web.Hosting.PipelineRuntime.InitializeAppli cation(IntPtr appContext) +231

    [HttpException (0x80004005): Exception of type 'System.OutOfMemoryException' was thrown.]
    System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +8910703
    System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +85
    System.Web.HttpRuntime.ProcessRequestNotificationP rivate(IIS7WorkerRequest wr, HttpContext context) +333

  2. #2
    Skriver is offline Senior Member
    Join Date
    Apr 2012
    Posts
    188

    Default

    When you say you are getting this message are you running any type of report or query?

  3. #3
    omkarv is offline Junior Member
    Join Date
    Jan 2012
    Posts
    2

    Post

    Oh, yes it is solved. Just changed the debug from true to false. It worked and running now.