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

Source Error:


Line 71:         if (CurrentUser.IsAuthenticated)
Line 72:         {
Line 73:             this.ContactUs_FirstName.Text = CurrentUser.FirstName;
Line 74:             this.ContactUs_LastName.Text = CurrentUser.LastName;
Line 75:             this.ContactUs_Phone.Text = CurrentUser.Phone;

Source File: D:\Websites\BigFurnitureWebsite\WebControls\ContactUsControl.ascx.cs    Line: 73





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