Hi guys,
I'm updating an app due to the cart loss experience (https://doc.dynamicweb.com/forum/development/development/critical-issue-with-cart-cookie) using NUGET from 9.4.18 to latest stable 9.5.6.
When I start the app after updating just the admin I get an error: parsing "?ID=1" - Quantifier {x,y} following nothing. (see attachement)
This happens when I go to the root of my site, in my case http://myapplication.localhost/
I think it happens when Dynamicweb is redirecting to the first page of the website.
When I navigate manually to http://myapplication.localhost/?id=1 there is no problem, the webpage shows
When I navigate manually to http://myapplication.localhost/homepage (the actual page url according to Dynamicweb CMS), which due to settings redirects to http://myapplication.localhost/ the
stacktrace error shows again.
I reran the update scripts and read all the release notest from 9.4.18 to 9.5.6, but can't find an explanation or fix for this issue ...
The only way I can work around this is by adding a redirect in my web.config, but that can't be right ... (see attachement)
I tried updating all other nuget packages, but that didn't help unfortunately ...
Is there a setting I missed?
Any idea what I can do? I don't like adding that redirect ...
Server Error in '/' Application.
parsing "?ID=1" - Quantifier {x,y} following nothing.
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.ArgumentException: parsing "?ID=1" - Quantifier {x,y} following nothing.
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:
[ArgumentException: parsing "?ID=1" - Quantifier {x,y} following nothing.] System.Text.RegularExpressions.RegexParser.ScanRegex() +1976 System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op) +164 System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache) +362 System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement, RegexOptions options) +93 Dynamicweb.Frontend.SearchEngineFriendlyURLs.ResolveQueryString(String fullQueryString, Int32 pageid, String alternatekey) +1468 Dynamicweb.Frontend.PageView.get_SearchFriendlyUrl() +537 Dynamicweb.Frontend.PageView.SetMetaData() +1117 Dynamicweb.Frontend.PageView.Load() +2334 Dynamicweb.Frontend.DynamicwebHttpHandler.ProcessRequest(HttpContext context) +200 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +866 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +91 |
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3160.0