[Mono-list] works with xsp2 but not with mod_mono

Vasili Sviridov vsviridov at exceede.com
Thu Oct 18 18:39:29 EDT 2007


Hello all,

When i run my solution using mod_mono with autohosting i get following 
error:

Server Error in '/' Application
Object reference not set to an instance of an object

Description: Error processing request.

Error Message: HTTP 500. System.NullReferenceException: Object reference 
not set to an instance of an object

Stack Trace:

System.NullReferenceException: Object reference not set to an instance 
of an object
  at System.Web.UI.SimpleWebHandlerParser.AddAssembly 
(System.Reflection.Assembly assembly, Boolean fullPath) [0x00000]
  at System.Web.UI.SimpleWebHandlerParser.AddAssemblyByName 
(System.String name, ILocation location) [0x00000]
  at System.Web.UI.SimpleWebHandlerParser..ctor (System.Web.HttpContext 
context, System.String virtualPath, System.String physicalPath) [0x00000]
  at System.Web.UI.WebHandlerParser..ctor (System.Web.HttpContext 
context, System.String virtualPath, System.String physicalPath) [0x00000]
  at System.Web.UI.WebHandlerParser.GetCompiledType 
(System.Web.HttpContext context, System.String virtualPath, 
System.String physicalPath) [0x00000]
  at System.Web.UI.SimpleHandlerFactory.GetHandler 
(System.Web.HttpContext context, System.String requestType, 
System.String virtualPath, System.String path) [0x00000]
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext 
context) [0x00000]
  at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () 
[0x00000]

10/18/2007 10:33:38 PM

when i start it using xsp2 in the root folder it works w/o any problems. 
No changes to any files are done. I have them running side-by-side on 
different ports.

What can you suggest?

Thanks,
V.


More information about the Mono-list mailing list