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

Source Error:


Line 272:                                                <div class="input-wrap">
Line 273:                                                    <label for="userEmail">*@(SiteData.LanguagePack["Shop.UserEmail"])</label>
Line 274:                                                    <input type="email" name="userEmail" placeholder="@(SiteData.LanguagePack["Shop.UserEmail"])" class="input-data form-control EMail" value="@(Session.CurrentUser != null ? Session.CurrentUser.UserEmail : "")" required />
Line 275:                                                </div>
Line 276:                                            </div>

Source File: c:\Inetpub\vhosts\getmood.io\httpdocs\Views\story\customCatalogItems\site1642\CatalogItemView.cshtml    Line: 274






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