• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

dmcbrier
#1 Posted : Tuesday, December 29, 2009 10:08:19 PM(UTC)
dmcbrier

Rank: Member

Joined: 8/25/2007(UTC)
Posts: 124

I have just uploaded a manufacturer with 2190 items.
I am running BV Commerce Version 5.6. Prior to this import I had no issues. Everything was working just fine.

Issue #1 :confused:

When I try to Regenerate Dynamic Categories I am getting the following error. I have a dynamic category with the all of the manufacturers items.

Request timed out.[ ]

<H2>Request timed out. </H2>
[color=#ffffcc>

[tr ][td ]<CODE>An]</b>location of the exception can be identified using the exception stack trace below.[/code] [/td][/tr]</TABLE>
[1]</H1>
<H2>Maximum request length exceeded. </H2>

[color=#ffffcc>

[tr ][td ]<CODE>An]
location of the exception can be identified using the exception stack trace below.[/code] [/td][/tr]</TABLE>
Stack Trace:[/color]


[table width="100%" bgColor=#ffffcc][tr ][td ]<CODE>
[HttpException (0x80004005): Maximum request length exceeded.] System.Web.HttpRequest.GetEntireRawContent() +8766626
System.Web.HttpRequest.FillInFormCollection() +318
System.Web.HttpRequest.get_Form() +68
System.Web.HttpRequest.get_HasForm() +8722023
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +97
System.Web.UI.Page.DeterminePostBackMode() +63
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +133
</PRE>[/code][/td][/tr][/table]

<HR color=silver SIZE=1 width="100%">

<FONT face=Verdana>Version Information:[/1] Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082 &lt;!--
[HttpException]: Maximum request length exceeded.
at System.Web.HttpRequest.GetEntireRawContent()
at System.Web.HttpRequest.FillInFormCollection()
at System.Web.HttpRequest.get_Form()
at System.Web.HttpRequest.get_HasForm()
at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
at System.Web.UI.Page.DeterminePostBackMode()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[HttpUnhandledException]: Exception of type 'System.Web.HttpUnhandledException' was thrown.
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.bvadmin_catalog_productbatchedit_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--&gt;&lt;!--
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.--&gt;



Ideas and suggestions greatly appreciated.
Aaron
#2 Posted : Wednesday, December 30, 2009 8:52:55 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
These errors are related in that they are occurring due to the limitations of your server configuration. Now that you have more products in your catalog you are running into these limits.

The first error is happening because it is taking more time to perform the operation than your server will allow, though I suspect the automated regenerate categories task that BV performs probably will work. The second error is happening because the server is receiving more data than it is allowed to.

Try adding this in the <system.web> area of your Web.config file. This will increase your timeout setting to 5 minutes and your request length to ~10MB.

Code:
<httpRuntime executionTimeout="300" maxRequestLength="10000" />
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
Kman
#3 Posted : Wednesday, December 30, 2009 6:12:10 PM(UTC)
Kman

Rank: Member

Joined: 11/25/2003(UTC)
Posts: 370

Is the database server on the same box as the web server?
Regards,
Kim(Kman) Rossey
www.toocoolwebs.com
BVSoftware - MerchantTribe Programming/Design, Database Programming and Business Applications
[email protected]
dmcbrier
#4 Posted : Thursday, January 7, 2010 9:05:23 AM(UTC)
dmcbrier

Rank: Member

Joined: 8/25/2007(UTC)
Posts: 124

Aaron,

Yes the database server is on the same box as the web server.

Adding <httpRuntime executionTimeout="300" maxRequestLength="10000" /> in the <system.web> area of the Web.config file fixed the issues I was having.

Thank you Aaron and Kim for your wonderful expertise
Kman
#5 Posted : Thursday, January 7, 2010 11:41:49 AM(UTC)
Kman

Rank: Member

Joined: 11/25/2003(UTC)
Posts: 370

Ok, also if the database server is on the same box you may need to do some memory management on the db server
just to make sure it is not consuming all the memory needed to run your application. SQL server is usually installed on
a stand alone server. It will consume every bit of free memory you have unless adjusted.
If you are using it in combo with other applications etc. some tuning is needed. When a crawler
hits your website it can quickly lock up the works. Also with a lot of user sessions.
The timeout adjust is OK but do you want your users waiting on page loads?
Most often they are off to another site if yours is slow.
Regards,
Kim(Kman) Rossey
www.toocoolwebs.com
BVSoftware - MerchantTribe Programming/Design, Database Programming and Business Applications
[email protected]
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012