dynamic redirect crashed site

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
triplw
Commander (CMDR)
Commander (CMDR)
Posts: 144
Joined: Sat Jan 12, 2008 5:34 pm
Contact:

dynamic redirect crashed site

Post by triplw » Wed Oct 31, 2012 12:05 pm

I was using the dynamic redirect and it crashed the site. This is the error I'm getting:

[ArgumentException: parsing "^mofcart/(*)" - Quantifier {x,y} following nothing.]
System.Text.RegularExpressions.RegexParser.ScanRegex() +6928537
System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op) +148
System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, Boolean useCache) +322
System.Text.RegularExpressions.Regex.Match(String input, String pattern, RegexOptions options) +49
CommerceBuilder.Seo.Redirect.ApplyToUrl(String sourceUrl) +501
CommerceBuilder.Seo.RedirectService.LocateRedirect(String sourceUrl) +319
CommerceBuilder.Services.c.c(Object A_0, EventArgs A_1) +1873
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171

The site is still down so I could really use some help.
Thanks

User avatar
triplw
Commander (CMDR)
Commander (CMDR)
Posts: 144
Joined: Sat Jan 12, 2008 5:34 pm
Contact:

Re: dynamic redirect crashed site

Post by triplw » Wed Oct 31, 2012 12:26 pm

I think I'm going to have to delete a row in the database ac_redirects table.

merance
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Mon Dec 12, 2011 12:36 pm

Re: dynamic redirect crashed site

Post by merance » Sun Dec 14, 2014 7:44 am

I'm having the same problem - how did you fix? you can email me merance@adamshorsesupplies.com

nadeem
Captain (CAPT)
Captain (CAPT)
Posts: 258
Joined: Tue Jul 31, 2012 7:23 pm

Re: dynamic redirect crashed site

Post by nadeem » Mon Dec 22, 2014 11:47 pm

If you have the source code, wrap the code inside ApplyToUrl method at Redirect.cs that is resulting in exception in try/catch block.

Post Reply