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: CS1061: 'BSUser' does not contain a definition for 'AccessPlan' and no extension method 'AccessPlan' accepting a first argument of type 'BSUser' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 20:             if (access != null)
Line 21:             {
Line 22:                 if (access.IsSupply && bsuser.AccessPlan)
Line 23:                     bAccess = true;
Line 24:                 if (access.IsTemp && DateTime.Now > bsuser.EndActived && bsuser.AccessPlan)

Source File: e:\rooms\u405935\brokenstone.ru\www\Supply\Plan.aspx.cs    Line: 22





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