[Monodevelop-devel] Error starting mvc4 website with xsp
tzvi ELIMELECH leibovitch
telebovich at yahoo.com
Tue Oct 1 16:33:29 UTC 2013
Hello
I'm
using openSUSE 12.3 and installed mono 3.0.4 the default that is
available from packages and the latest stable Monodevelop 4.1.7 from
git.
I created an mvc4 application using this post
http://curtis.schlak.com/2013/09/29/setup-asp-net-mvc-4-on-monodevelop.html
When i start this web application from terminal it gives me the following exception
System.InvalidOperationException
The view 'Index' or its master was not
found or no view engine supports the searched locations. The following
locations were searched:
~/Views/Home/Index.aspx
~/Views/Home/Index.ascx
~/Views/Shared/Index.aspx
~/Views/Shared/Index.ascx
~/Views/Home/Index.cshtml
~/Views/Home/Index.vbhtml
~/Views/Shared/Index.cshtml
~/Views/Shared/Index.vbhtml
Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or object): System.Web.Mvc.
Exception stack trace:
at System.Web.Mvc.ViewResult.FindView
(System.Web.Mvc.ControllerContext context) [0x00000] in <filename
unknown>:0
at System.Web.Mvc.ViewResultBase.ExecuteResult
(System.Web.Mvc.ControllerContext context) [0x00000] in <filename
unknown>:0
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult
(System.Web.Mvc.ControllerContext controllerContext,
System.Web.Mvc.ActionResult actionResult) [0x00000] in <filename
unknown>:0
at
System.Web.Mvc.ControllerActionInvoker+<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17
() [0x00000] in <filename unknown>:0
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter
(IResultFilter filter, System.Web.Mvc.ResultExecutingContext preContext,
System.Func`1 continuation) [0x00000] in <filename unknown>:0
Version Information: 3.0.4 (tarball Thu Mar 7 10:35:21 UTC 2013); ASP.NET Version: 4.0.30319.17020
Also I have an additional error that i cannot start xsp4 from Monodevelop. This disables me the advantage of debugging.
The error is following:
Could not launch web server. The "xsp4" web server could not be started. Make sure that it is installed.
I can't see the rest of the message.
Or when i run without debugging there is an exception with following stack trace
Handling exception type TypeLoadException
Message is Could not load type 'Mono.WebServer.XSPWebSource' from assembly 'xsp4'.
IsTerminating is set to True
System.TypeLoadException: Could not load type 'Mono.WebServer.XSPWebSource' from assembly 'xsp4'.
at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00025] in
/home/abuild/rpmbuild/BUILD/xsp-2.10.2/src/Mono.WebServer.XSP/main.cs:258
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could
not load type 'Mono.WebServer.XSPWebSource' from assembly 'xsp4'.
at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00025] in
/home/abuild/rpmbuild/BUILD/xsp-2.10.2/src/Mono.WebServer.XSP/main.cs:258
Can somebody give a tip what are these errors?
Thank you,
Robert Lebovich.
More information about the Monodevelop-devel-list
mailing list