[Mono-list] null ref. exception

Peter Hagen peter at wingsofdeath.nu
Sun Jul 19 06:12:55 EDT 2009


i migrated my webapp to .net 2.0. When i testdrive it, on my Mono  
2.0.1 (Ubuntu) it runs very nicely. After that I uploaded the site to  
my webserver with has Mono on it, and when I open the page  
with my upload control, I get the message down below. So, i guess  
there is a difference between 2.0 and 2.4. Is this a bug? or should i  
set some parameter somewhere?

with kind regards

Peter Hagen
Argument cannot be null. Parameter name: virtualPath

Description: HTTP 500. Error processing request.

Stack Trace:

System.ArgumentNullException: Argument cannot be null.
Parameter name: virtualPath
   at System.Web.VirtualPathUtility.IsAbsolute (System.String  
virtualPath) [0x00000]
   at System.Web.VirtualPathUtility.IsRooted (System.String  
virtualPath) [0x00000]
   at System.Web.VirtualPathUtility.Normalize (System.String path)  
   at System.Web.VirtualPathUtility.ToAppRelative (System.String  
virtualPath, System.String applicationPath) [0x00000]
   at System.Web.VirtualPathUtility.ToAppRelative (System.String  
virtualPath) [0x00000]
   at System.Web.UI.Control.get_AppRelativeTemplateSourceDirectory ()  
   at System.Web.UI.Control.ResolveUrl (System.String relativeUrl)  
   at Brettle.Web.NeatUpload.InputFile.OnPreRender (System.EventArgs  
e) [0x00000] 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090719/33ef5303/attachment.html 

More information about the Mono-list mailing list