“/”应用程序中的服务器错误。

值不能为 null。
参数名: path

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ArgumentNullException: 值不能为 null。
参数名: path

源错误:


行 99: 				newUrl = DbHelper.CurrentDb.ExecuteScalar<string>("select path1 from whir_u_content where path2=@0 and isdel=0",oldUrl); 
行 100:				LogHelper.Log("2"+newUrl);
行 101:				this.Context.RewritePath(newUrl);
行 102:	    	}
行 103:			

源文件: c:\Whir\website\Global.asax    行: 101

堆栈跟踪:


[ArgumentNullException: 值不能为 null。
参数名: path]
   System.Web.HttpContext.RewritePath(String path, Boolean rebaseClientPath) +233
   System.Web.HttpContext.RewritePath(String path) +7
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in c:\Whir\website\Global.asax:101
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +201
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +132
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4494.0