Server Error in '/' Application.

Value cannot be null.
Parameter name: filePath

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.ArgumentNullException: Value cannot be null.
Parameter name: filePath

Source Error:


Line 45:                 string rawQuery = query.Replace(PARAMETER_NAME, string.Empty);
Line 46:                 string decryptedQuery = Decrypt(rawQuery);
Line 47:                 context.RewritePath(path, string.Empty, decryptedQuery);
Line 48:             }
Line 49:             else if (context.Request.HttpMethod == "GET")

Source File: d:\inetpub\vhosts\awladragab.com\httpdocs\App_Code\QuertStringModule.cs    Line: 47

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: filePath]
   System.Web.HttpContext.RewritePath(VirtualPath filePath, VirtualPath pathInfo, String queryString, Boolean setClientFilePath) +5086894
   System.Web.HttpContext.RewritePath(String filePath, String pathInfo, String queryString) +72
   QueryStringModule.context_BeginRequest(Object sender, EventArgs e) in d:\inetpub\vhosts\awladragab.com\httpdocs\App_Code\QuertStringModule.cs:47
   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