Mitchel's Forums

Subject: Page Persistence Settings
Prev Next
You are not authorized to post a reply.

AuthorMessages
Jeff HughesUser is Offline
New Poster
New Poster
Posts:7

10/20/2008 5:12 PM  

In Mitchel's blog article regarding DNN performance settings he says not to change the page state persistence from it's default of 'Page'. Somewhere in the beginning of our DNN install I did set it to that. Now I am attempting to set it back from 'memory' to 'page'. When I do I can not log out, get error 500 on the host settings page whenever I attempt to restart application.

Not sure what's up but had to manually change the table entry to get the site working correctly again.

Any tip on how I might get this set back to 'Page' without causing breakage?

This server is not currently in production so I can try anything. DNN 4.62, upgraded to 4.8 > 4.9 following Mitchel's walk through.

Thanks
-Jeff

Jeff HughesUser is Offline
New Poster
New Poster
Posts:7

10/20/2008 5:24 PM  

More information:  Performed a restart of the services and recycled the app pool.  When I select login I get:

 

Stack Trace:

[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
System.Web.HttpRawUploadedContent.AddBytes(Byte[] data, Int32 offset, Int32 length) +3325558
System.Web.HttpRequest.GetEntireRawContent() +848
System.Web.HttpRequest.GetMultipartContent() +56
System.Web.HttpRequest.FillInFormCollection() +222
System.Web.HttpRequest.get_Form() +65
System.Web.HttpRequest.get_HasForm() +3309630
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +45
System.Web.UI.Page.DeterminePostBackMode() +65
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +133

[PageLoadException: Exception of type 'System.OutOfMemoryException' was thrown.]
DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +377
DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +483
System.Web.UI.TemplateControl.OnError(EventArgs e) +2085460
System.Web.UI.Page.HandleError(Exception e) +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7341
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) +29
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5607

10/20/2008 5:25 PM  
Jeff,

I have heard of similar cases like this, the most tried and true method is to change the value.

Then re-save the web.config, this will trigger the application restart.

Then re-login and validate that the setting is correct. If it is, great you are done!

If not, modify the value in the DB to set it to Page, I believe the value is "P". Then re-save the web.config to cause the application restart.

That should do it!

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Jeff HughesUser is Offline
New Poster
New Poster
Posts:7

10/20/2008 5:36 PM  
Thanks for the reply. I have the flag in the database changed and was able to trigger the app restart. When I click login, I get the
noted. I do have a custom login page, so I was able to trigger the login pae by adding ?ctl=login to the end of the URL. After I
enter my credentials and click login, I get the same error.

-Jeff
Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5607

10/23/2008 8:49 AM  
Jeff,

The only other thing I can think of then at this point is to be 100% sure that your local cache is cleared.

Are you are shared hosting?

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.
Forums >Development Discussion >DotNetNuke > Page Persistence Settings



ActiveForums 3.7