Server Error in '/' Application.

Value cannot be null.
Parameter name: virtualPath

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: virtualPath

Source Error:


Line 303:                    }
Line 304:                }
Line 305:                app.Context.RewritePath(strCustomPath, true);
Line 306:            }
Line 307:        }

Source File: c:\HostingSpaces\admin\annexcarpet.com\wwwroot\Global.asax    Line: 305

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: virtualPath]
   System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +11970571
   System.Web.HttpContext.RewritePath(String path, Boolean rebaseClientPath) +130
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in c:\HostingSpaces\admin\annexcarpet.com\wwwroot\Global.asax:305
   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.4494.0