[Mono-list] InvalidOperationException using XSP2 with the .NET runtime
robertj at gmx.net
Wed Aug 26 17:05:57 EDT 2009
> I'm trying XSP2 on a Windows XP SP2 machine by executing xsp2.exe directly
> (without mono.exe) and have hit upon a problem when specifying virtual
> When I browse to http://localhost:8080/A or http://localhost:8080/B I get
> this exception:
> System.InvalidOperationException: Failed to map the path '/Greenstone.JPG'.
> Server stack trace:
> at System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath
> h, Boolean permitNull)
> at System.Web.Hosting.HostingEnvironment.MapPathInternal(VirtualPath
> at System.Web.Hosting.MapPathBasedVirtualPathProvider.FileExists(String
> at Mono.WebServer.Paths.VirtualPathExists(IApplicationHost appHost,
> String ve
> So, any idea what is causing the exception? Hope somebody can help.
This looks like a bug in MS.NET's ASP.NET.
VirtualPathProvider.FileExists is not supposed to throw exceptions.
Try applying the attached patch to xsp's sources.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mono-list