[Mono-bugs] [Bug 397187] [WIN32] Mono do not compile site with . css files in App_Theme directory
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Aug 13 19:41:03 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=397187
User bryan.w.bell at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397187#c4
Bryan Bell <bryan.w.bell at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bryan.w.bell at gmail.com
--- Comment #4 from Bryan Bell <bryan.w.bell at gmail.com> 2008-08-13 17:41:02 MDT ---
I believe I ran into this same bug when using web services. If you look at the
source code for
"public string MapPath (string virtualPath, string baseVirtualDir, bool
allowCrossAppMapping)"
the relevant lines are:
if (virtualPath.IndexOf (':') != -1)
throw new HttpException (String.Format ("'{0}' is not a valid virtual
path.", virtualPath));
On Unix this exception is not thrown because paths don't normally have ':' in
them. But on windows the "D:" part of the path makes the code throw an
exception.
For web services I had this problem when trying to serve an .asmx page using
xsp2 due to the fact that when an .asmx page is served the request is rendered
using
C:\Program Files\Mono-2.0\etc\mono\2.0\DefaultWsdlHelpGenerator.aspx. Hence the
virtual path has "C:" in it which causes an exception to be thrown.
I have not yet tried removing the code (or adding a condition to throw the
exception only if the platform is Unix) to see if the exception is no longer
thrown.
--
Configure bugmail: https://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