Methode nicht gefunden: "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>)".
Beschreibung:
Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.
Ausnahmedetails: System.MissingMethodException: Methode nicht gefunden: "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>)".
Versionsinformationen: Microsoft .NET Framework-Version:2.0.50727.4200; ASP.NET-Version:2.0.50727.4016
However I reference C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 2\Assemblies\System.Web.Mvc.dll
in my project and have the namespace in my Web.config.
And according to the object browser that SHOULD contain the method.
Since I migrated the project to VS 2010 sometimes it has problems to finde the CodeBehind class. I am not sure, if this is the problem, I just mention this in case.
FMK
Member
6 Points
55 Posts
Cant access System.String System.Web.Mvc.Html.LinkExtensions.RouteLink(System.Web.Mvc.HtmlHelper,...
Jan 13, 2010 11:19 AM|LINK
This is the error message.
Serverfehler in der Anwendung /.
Methode nicht gefunden: "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>)".
Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.Ausnahmedetails: System.MissingMethodException: Methode nicht gefunden: "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>)".
Quellfehler:
Zeile 3: CodeBehind="WorkitemAction.ascx.cs" AutoEventWireup="True" %> Zeile 4: <%@ Import Namespace="WorkstreamPlatform_WebRole.Controllers" %> Zeile 5: [<%=Html.ActionLink<WorkitemController>(Model, GetText())%>]Quelldatei: c:\Projects\WorkstreamPlatform\WorkstreamPlatform\bin\Debug\WorkstreamPlatform.csx\roles\WorkstreamPlatform_WebRole\approot\Views\Shared\DisplayTemplates\WorkitemAction.ascx Zeile: 5
Stapelüberwachung:
Versionsinformationen: Microsoft .NET Framework-Version:2.0.50727.4200; ASP.NET-Version:2.0.50727.4016
However I reference C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 2\Assemblies\System.Web.Mvc.dll
in my project and have the namespace in my Web.config.
And according to the object browser that SHOULD contain the method.
Since I migrated the project to VS 2010 sometimes it has problems to finde the CodeBehind class. I am not sure, if this is the problem, I just mention this in case.