Server Error in '/' Application.

Illegal characters in path.

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: Illegal characters in path.

Source Error:


Line 49: 
Line 50:                 // Redirect if extensionless and no trailing forward slash. Backwards compatibility with pre 8.5.1.
Line 51:                 if (Path.GetExtension(context.Request.AppRelativeCurrentExecutionFilePath) == string.Empty && !context.Request.AppRelativeCurrentExecutionFilePath.EndsWith("/"))
Line 52:                 {
Line 53:                     this.TraceMessage("Missing trailing slash, forcing a Redirect.");

Source File: d:\data\web\www.asla.org\App_Code\CSCode\HttpModules\URLAliasingModule.cs    Line: 51

Stack Trace:


[ArgumentException: Illegal characters in path.]
   System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) +14607857
   System.IO.Path.GetExtension(String path) +29
   Ektron.Cms.Settings.UrlAliasing.URLAliasingModule.ProcessRequest(HttpContext context) in d:\data\web\www.asla.org\App_Code\CSCode\HttpModules\URLAliasingModule.cs:51
   Ektron.Cms.Settings.UrlAliasing.URLAliasingModule.context_BeginRequest(Object sender, EventArgs e) in d:\data\web\www.asla.org\App_Code\CSCode\HttpModules\URLAliasingModule.cs:34
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


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