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: CS1928: 'System.Web.Mvc.HtmlHelper<dynamic>' does not contain a definition for 'ActionLink' and the best extension method overload 'System.Web.Mvc.Ajax.AjaxExtensions.ActionLink(System.Web.Mvc.AjaxHelper, string, string, string, object, System.Web.Mvc.Ajax.AjaxOptions, object)' has some invalid arguments

Source Error:


Line 140:     <li><strong>Cloud types</strong>. @Html.ActionLink("Test",  "fun","tests", new { sortBy = "pub01_15" }, null). Example (questions/answers gathered from Internet).</li>
Line 141:     <li><strong>European mountains</strong>. @Html.ActionLink("Test",  "fun","tests", new { sortBy = "pub01_16" }, null). Example (questions/answers gathered from Internet).</li>
Line 142:     <li><strong>Zodiac</strong>. @Html.ActionLink("Test",  "tests","mill","tests", new { sortBy = "pub01_22" }, null). Example (questions/answers gathered from Internet).</li>
Line 143:        <li><strong>French</strong>. @Html.ActionLink("Test",  "fun","tests", new { sortBy = "pub01_24" }, null). Example (questions/answers gathered from Internet).</li>
Line 144:    

Source File: c:\inetpub\wwwroot\Views\pub\fun.cshtml    Line: 142






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