[Mono-bugs] [Bug 518489] New: [regression] I can no longer run the MVC template remotely in mono

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 1 17:03:57 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=518489


           Summary: [regression] I can no longer run the MVC template
                    remotely in mono
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 0.2
          Platform: i586
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: twiest at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Component Test


Description of Problem:
When I try to run the MVC template remotely in mono I get the following error.
I can however run it in locally in mono and it works (weird).


Steps to reproduce the problem:
1. Install MVC on windows from here:
2. Restart Visual Studio
3. Create a default MVC project by click "File / New Project / Visual C# / Web
/ ASP.NET MVC Web Application"

4. Make sure that you select .NET Framework 3.5 from the dropdown list at the
top of the New Project dialog or the ASP.NET MVC Web Application project
template won’t appear.

5. Click "Ok" to start creating the project
6. Click "No" to creating a unit test project
7. Click View / Properties Window
8. Open the "References" list in the solution explorer
9. Click on "System.Web.Mvc"
10. In the properties window, change "Copy Local" to "True"
11. Click Mono / Run Remotely in Mono


Expected Results:
no error.


How often does this happen? 
every time.


Actual Results:
Server Error in '/' Application
The controller for path '/' could not be found or it does not implement
IController.

Description: HTTP 500. Error processing request.

Stack Trace:

System.Web.HttpException: The controller for path '/' could not be found or it
does not implement IController.
  at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance (System.Type
controllerType) [0x00000] 
  at System.Web.Mvc.DefaultControllerFactory.CreateController
(System.Web.Routing.RequestContext requestContext, System.String
controllerName) [0x00000] 
  at System.Web.Mvc.MvcHandler.ProcessRequest (System.Web.HttpContextBase
httpContext) [0x00000] 
  at System.Web.Mvc.MvcHandler.ProcessRequest (System.Web.HttpContext
httpContext) [0x00000] 
  at System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest
(System.Web.HttpContext httpContext) [0x00000] 
  at System.Web.Mvc.MvcHttpHandler.VerifyAndProcessRequest (IHttpHandler
httpHandler, System.Web.HttpContextBase httpContext) [0x00000] 
  at System.Web.Routing.UrlRoutingHandler.ProcessRequest
(System.Web.HttpContextBase httpContext) [0x0005a] in
/usr/src/packages/BUILD/mono-2.4.2/mcs/class/System.Web.Routing/System.Web.Routing/UrlRoutingHandler.cs:81 
  at System.Web.Routing.UrlRoutingHandler.ProcessRequest
(System.Web.HttpContext httpContext) [0x00000] in
/usr/src/packages/BUILD/mono-2.4.2/mcs/class/System.Web.Routing/System.Web.Routing/UrlRoutingHandler.cs:64 
  at
System.Web.Routing.UrlRoutingHandler.System.Web.IHttpHandler.ProcessRequest
(System.Web.HttpContext context) [0x00000] in
/usr/src/packages/BUILD/mono-2.4.2/mcs/class/System.Web.Routing/System.Web.Routing/UrlRoutingHandler.cs:59 
  at MvcApplication1._Default.Page_Load (System.Object sender, System.EventArgs
e) [0x0002a] in C:\Documents and Settings\rupert\My Documents\Visual Studio
2008\Projects\MvcApplication1\MvcApplication1\Default.aspx.cs:18 
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00029] in
/usr/src/packages/BUILD/mono-2.4.2/mcs/class/System.Web/System.Web.UI/Control.cs:976 
  at System.Web.UI.Control.LoadRecursive () [0x00020] in
/usr/src/packages/BUILD/mono-2.4.2/mcs/class/System.Web/System.Web.UI/Control.cs:1456 
  at System.Web.UI.Page.ProcessLoad () [0x0004a] in
/usr/src/packages/BUILD/mono-2.4.2/mcs/class/System.Web/System.Web.UI/Page.cs:1598 
  at System.Web.UI.Page.ProcessPostData () [0x0004d] in
/usr/src/packages/BUILD/mono-2.4.2/mcs/class/System.Web/System.Web.UI/Page.cs:1576 
  at System.Web.UI.Page.InternalProcessRequest () [0x001bf] in
/usr/src/packages/BUILD/mono-2.4.2/mcs/class/System.Web/System.Web.UI/Page.cs:1534 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x0005b] in
/usr/src/packages/BUILD/mono-2.4.2/mcs/class/System.Web/System.Web.UI/Page.cs:1353 

Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
2.0.50727.1433

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list