[Mono-aspnet-list] ASP.NET MVC Precompiled website issues - Virtual Directories not working

Russell Kay russell.kay at me.com
Fri Jan 22 08:56:53 EST 2010


OK if I do that I get a different error message, remember this is ASP.NET MVC that I am running here

Server Error in '/russ' Application

The incoming request does not match any route
Description: HTTP 500. Error processing request.
Stack Trace: 
System.Web.HttpException: The incoming request does not match any route
  at System.Web.Routing.UrlRoutingHandler.ProcessRequest (System.Web.HttpContextBase httpContext) [0x00000] in <filename unknown>:0 
  at System.Web.Routing.UrlRoutingHandler.ProcessRequest (System.Web.HttpContext httpContext) [0x00000] in <filename unknown>:0 
  at System.Web.Routing.UrlRoutingHandler.System.Web.IHttpHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 
  at MvcApplication1._Default.Page_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Web.UI.Control.LoadRecursive () [0x00000] in <filename unknown>:0 
  at System.Web.UI.Page.ProcessLoad () [0x00000] in <filename unknown>:0 
  at System.Web.UI.Page.ProcessPostData () [0x00000] in <filename unknown>:0 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 

Version information: Mono Runtime Version: 2.6.1 (tarball); ASP.NET Version: 2.0.50727.1433 

On 22 Jan 2010, at 13:39, Robert Jordan wrote:

> On 22.01.2010 13:32, Russell Kay wrote:
>> All,
>> Is anyone else having problems with precompiled websites?
>> Preamble... version of Mono is 2.6.1 and I have tested on Windows and
>> MacOS.
>> I have followed the examples online but I cannot get Virtual
>> directories working at all, everything is fine as long as I keep
>> everything at the root i.e.
>> aspnet_compiler -f -v / -p MyWebsite c:\temp\CompiledWebsite
>> and then
>> xsp2 --address --applications /:c:\temp'\\CompiledWebsite
>> works fine, when I browse to
> It should work fine if you pre-compile with "-v /" and change
> the application name later at runtime:
> 	xsp2 --applications /foo-is-not-slash:physical-path
> Robert
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20100122/47a64e9f/attachment-0001.html 

More information about the Mono-aspnet-list mailing list