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: CS0117: 'System.Web.Mvc.UrlHelper' does not contain a definition for 'Scheme'

Source Error:


Line 5:      ViewBag.Title = "StockEdge Analyst - a powerful service to empower investors";
Line 6:      ViewBag.PageHeader = "StockEdge Analyst";
Line 7:      ViewBag.PageUrl = UrlHelper.Scheme + "://" + UrlHelper.Authority.ToString().ToLower() + UrlHelper.AbsolutePath.ToString().ToLower();
Line 8:  }
Line 9:  @section MetaTags {

Source File: c:\inetpub\vhosts\stockedge.com\httpdocs\Views\ProductDashboard\StockedgeAnalyst.cshtml    Line: 7







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