Server Error in '/' Application.

The route URL separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value.
Parameter name: routeUrl

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: The route URL separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value.
Parameter name: routeUrl

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: The route URL separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value.
Parameter name: routeUrl]
   System.Web.Routing.RouteParser.Parse(String routeUrl) +217
   Linksoft.Forms.UrlHelpers.RedirectPermanently(RouteCollectionWrapper`1 routes, String url, String[] targetUrl) in C:\Linksoft\Kosmas\Forms\Url.cs:1109
   Kosmas.MvcApplication.RegisterRoutes(RouteCollection rawRoutes) in C:\Linksoft\Kosmas\Full.Web\Global.asax.cs:1669
   Kosmas.MvcApplication.Application_Start() in C:\Linksoft\Kosmas\Full.Web\Global.asax.cs:2202

[HttpException (0x80004005): The route URL separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value.
Parameter name: routeUrl]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +517
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +185
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369

[HttpException (0x80004005): The route URL separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value.
Parameter name: routeUrl]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +724


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