Trying to edit or delete a page is generating error

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
2/22/2012 8:52:01 PM
Gravatar
Total Posts 12

Trying to edit or delete a page is generating error

Under Administration Menu > Add/Edit Pages

when I try to delete or edit a page I get an error. there is total 6532 pages in mp_pages table as information. I tried to debug it with the latest build mojoportal with visual studio ( I am not even close to being expert in this) and it's not getting caught in a breakpoint in the output window I see multiple lines of "A first chance exception of type 'System.Web.HttpException' occurred in System.Web.dll" when this happens, I was not able to nail down the source. Any suggestions?

 

 

Server Error in '/' Application.

Operation is not valid due to the current state of the object.

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.InvalidOperationException: Operation is not valid due to the current state of the object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: Operation is not valid due to the current state of the object.]
System.Web.HttpValueCollection.FillFromEncodedBytes(Byte[] bytes, Encoding encoding) +11371791
System.Web.HttpRequest.FillInFormCollection() +329

[HttpException (0x80004005): The URL-encoded form data is not valid.]
System.Web.HttpRequest.FillInFormCollection() +11485906
System.Web.HttpRequest.get_Form() +157
System.Web.HttpRequest.get_HasForm() +11486708
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +141
System.Web.UI.Page.DeterminePostBackMode() +100
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +259

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

2/23/2012 6:04:46 AM
Gravatar
Total Posts 18439

Re: Trying to edit or delete a page is generating error

Hi,

See this thread for background on the problem and a potential workaround (It was caused by a change in behavior in ASP.NET after a security update).

With that many pages probably the best way to do it is to find the page in the site map, visit the page, then click page settings then delete it or edit it.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.