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

值不能为空。
参数名: virtualPath

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

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

源错误:


行 506:                        int lcid = Whir.Repository.DbHelper.CurrentDb.ExecuteScalar<int>("select top 1 columnid from whir_dev_column where Upper(path) like '%" + path1.Replace("/", "").Trim().ToUpper() + "%' and parentid=32");
行 507:
行 508:                        this.Context.RewritePath(Whir.Service.ServiceFactory.ColumnService.GetColumnListLink(lcid, true, 3) + "?itemid=" + file.Replace(".shtml", ""));
行 509:                    }
行 510:                    else

源文件: d:\work\tianmeipx.net\Global.asax    行: 508

堆栈跟踪:


[ArgumentNullException: 值不能为空。
参数名: virtualPath]
   System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +428
   System.Web.HttpContext.RewritePath(String path, Boolean rebaseClientPath) +145
   ASP.global_asax.Application_BeginRequest(Object sender, EventArgs e) in d:\work\tianmeipx.net\Global.asax:508
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +176
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +177


版本信息: Microsoft .NET Framework 版本:2.0.50727.8669; ASP.NET 版本:2.0.50727.8653