GetControllerInstance(System.Type) error in VS 2010

Feb 26, 2010 at 12:57 PM

Hellow there,

I succesfully opened the Oxite website in Visual Studio 2010.

Unforatunatley, when I tried to build and run the website, I get following error:

 

'Oxite.Mvc.Infrastructure.OxiteControllerFactory.GetControllerInstance(System.Type)': no suitable method found to override    

....\Oxite.Mvc\Infrastructure\OxiteControllerFactory.cs    

line 21  

column 40    

Project Oxite.Mvc

 

I have VS 2010 RC1 installed together with APS.NET MVC 2.0.

Is there a solution for this error?

thanks in advance

Mar 31, 2010 at 2:57 PM

Hi

Just change the defition of the method :

protected

override IController GetControllerInstance(RequestContext requestContext, Type controllerType)

And also add the following reference :

using

System.Web.Routing;

Regards

Christian Robert 

Jul 15, 2011 at 12:11 PM
Edited Jul 15, 2011 at 12:13 PM

Hi

        I am changed definition but it not working....i got the error

 Oxite.Mvc.Infrastructure.OxiteControllerFactory.GetControllerInstance(System.Type)': no suitable method found to override

Is there any solutions for that....?

Regards,

karthikeyan.B

thanks in advance