是不是你的Cache[""]代码有问题,就是你访问的某1个cache确实不存在。而不是System.Web.HttpContext.Current.Cache不存在。先中断看看System.Web.HttpContext.Current.Cache是不是null