Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0103: The name 'user' does not exist in the current context

Source Error:


Line 3:      var cdb = new FFWebMVC_DataModel.Cache();
Line 4:      
Line 5:      var pages = cdb.Pages.Where(w => w.User != null && w.User.Username.ToLower().Equals(user)).ToList();
Line 6:      var news = cdb.News.Where(w => w.User != null && w.User.Username.ToLower().Equals(user)).ToList();
Line 7:      var photoGalleries = cdb.PhotoGallery_Albums.Where(w => w.User != null && w.User.Username.ToLower().Equals(user)).ToList();

Source File: c:\inetpub\WebSites\rixosmagazine.com\Views\Author\Index.cshtml    Line: 5






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0