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 9:          //Response.Write(RewriteTransfer);
Line 10:         //Response.Redirect(RewriteTransfer, true);
Line 11:         HttpContext.Current.RewritePath(strRewrite);
Line 12:         //Server.Transfer(RewriteTransfer, true);     
Line 13: 

Source File: w:\WEBFARM\www_trevalli_catalogo\Global.asax    Line: 11

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: virtualPath]
   System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +11973243
   System.Web.HttpContext.RewritePath(String path, Boolean rebaseClientPath) +130
   ASP.global_asax.GoTo(String strRewrite) in w:\WEBFARM\www_trevalli_catalogo\Global.asax:11
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in w:\WEBFARM\www_trevalli_catalogo\Global.asax:99
   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