[Mono-bugs] [Bug 502016] New: Unable to run simple MVC application remotely in Mono

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 7 20:35:23 EDT 2009


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


           Summary: Unable to run simple MVC application remotely in Mono
    Classification: Mono
           Product: Mono: Tools
           Version: 0.1
          Platform: x86-64
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: martin at novell.com
        ReportedBy: mchristensen at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Component Test


Description of Problem:

I am unable to run a simple MVC application remotely on Linux.

Following these instructions:

   1. Install MVC from the scratch area
   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

The web browser appears with this error:

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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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