Page 1 of 1

dynamic redirect crashed site

Posted: Wed Oct 31, 2012 12:05 pm
by triplw
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

Re: dynamic redirect crashed site

Posted: Wed Oct 31, 2012 12:26 pm
by triplw
I think I'm going to have to delete a row in the database ac_redirects table.

Re: dynamic redirect crashed site

Posted: Sun Dec 14, 2014 7:44 am
by merance
I'm having the same problem - how did you fix? you can email me merance@adamshorsesupplies.com

Re: dynamic redirect crashed site

Posted: Mon Dec 22, 2014 11:47 pm
by nadeem
If you have the source code, wrap the code inside ApplyToUrl method at Redirect.cs that is resulting in exception in try/catch block.