asp.net mvc - Error after updating from ASP MVC 3 Beta to RC -


after updated asp mvc 3 application beta version realease candidate encounter error:

{"method not found: 'void system.web.mvc.globalfiltercollection.add(system.object, system.nullable`1<int32>)'."} 

the error occurs in global.asax inside code:

    protected void application_start()     {         arearegistration.registerallareas();          registerglobalfilters(globalfilters.filters); // <-- here         registerroutes(routetable.routes);     } 

here registerglobalfilters()

    public static void registerglobalfilters(globalfiltercollection filters)     {         filters.add(new handleerrorattribute());     } 

here details of system.web.mvc.dll: alt text

the system.web.mvc.dll file missing assembly folder, should here? alt text

here screenshot of mvc applications installed on computer, beta unsintalled before did new install of rc, installed through microsoft web platform installer think should ok: alt text

anyone got clue?

looking @ rc version of system.web.mvc.dll in reflector, see private void addinternal(object filter, int? order) method. sounds used named add in beta.

the rc version 3.0.11029.0. check version of dll have in c:\program files (x86)\microsoft asp.net\asp.net mvc 3\assemblies, , if seeing error on published/deployed web site, check dll version there well.

edit

found installation note on release notes:

you must uninstall asp.net mvc 3 preview 1 or asp.net mvc 3 beta before installing asp.net mvc 3 rc.

i'm not sure gets cleaned uninstalling beta, if did not unininstall beta, might want uninstall rc , beta, reinstall rc.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -