https://bugzilla.novell.com/show_bug.cgi?id=397187
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=397187#c4 Bryan Bell <[EMAIL PROTECTED]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] --- Comment #4 from Bryan Bell <[EMAIL PROTECTED]> 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
