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: CS0029: Cannot implicitly convert type 'WTIN_v8.Entity.UserStatusSelect_Result' to 'string'

Source Error:


Line 13:     catch (Exception e) { }
Line 14: 
Line 15:     string userStatus = UserRepository.UserStatusSelect(userid);
Line 16:     bool hasAccess = userStatus != null && userStatus.ToLower() == "subscribed";
Line 17: 

Source File: C:\inetpub\wwwroot\LIVE\COMv8\Views\Partials\ChannelAIDiscoveryPanel.cshtml    Line: 15







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