Hi i receive this error
Sharp architecture 2.0 works on mvc 3 the error is
Entry point was not found
I have both mvc 3 and mvc 4 installed on my Pc,as i un-install mvc 4 projects Work Correctly,but is there any one other way that can work i have tried to change assembly settings as well in web.config
Here is the Stack trace
[EntryPointNotFoundException: Entry point was not found.]
System.Web.Mvc.MvcRouteHandler.GetSessionStateBehavior(RequestContext requestContext) +159
System.Web.Mvc.MvcRouteHandler.GetHttpHandler(RequestContext requestContext) +41
System.Web.Mvc.MvcRouteHandler.System.Web.Routing.IRouteHandler.GetHttpHandler(RequestContext requestContext) +10
System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +9024264
System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +86
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Thanks , Resolved had to remove all Previous refrences of mvc3 and re-refrence it again from /ProgramFiles/ASP.NET MVC 3/System.Web.Mvc.dll as on default it shows assemblies of only mvc4
There is another way to resolve the "Entry point not found exception", you can add the following section in your
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
This will instruct the runtime to use MVC4 binaries. We are using this in our projects without any exceptions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With