ASP.Net MVC 2 Error Method not found: 'System .string
Posted
by Saravanan I M
on Stack Overflow
See other posts from Stack Overflow
or by Saravanan I M
Published on 2010-04-21T14:13:35Z
Indexed on
2010/04/21
14:23 UTC
Read the original article
Hit count: 361
I converted my website from asp.net mvc 1.0 to 2.0. After converting that i am getting the following error in actionlink
Method not found: 'System.String System.Web.Mvc.Html.LinkExtensions.RouteLink(System.Web.Mvc.HtmlHelper, System.String, System.Web.Routing.RouteValueDictionary, System.Collections.Generic.IDictionary`2<System.String,System.Object>)'.
Line 102: <%var Signin = Html.Resource("globalResources, Signin"); %>
Line 103: <% if (string.IsNullOrEmpty(Signin)) Signin = "Signin"; %>
Line 104: <%= Html.ActionLink<AccountController>(cntrl => cntrl.LogOn(), Signin.ToString(), new { @class = "defaultmaster" })%>
Line 105: |
Line 106: <%var register = Html.Resource("globalResources, Register"); %>
Source File: e:\Muchsocial\Sourcecode\Muchsocial\Views\Shared\Muchsocial.Master Line: 104
© Stack Overflow or respective owner