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

Vasili Sviridov vsviridov at exceede.com
Fri Oct 19 11:02:04 EDT 2007


It worked out after I've cleared all the temp data and restarted apache 
several times.

V.

David Temes wrote:
> Is mod_mono configured to run mod-mono-server2 or are you trying to 
> run a 2.0 proyect with mod-mono-server?
>
> here is some output of a ps -ax |grep mono in my dev server:
>
> 6388 ?        Ss     0:00 /opt/mono-1.2.4/bin/mono 
> /opt/mono-1.2.4/lib/mono/2.0/mod-mono-server2.exe --.....
>
> I also had issues with some libraries due to the environment settings 
> while running apache through the "/etc/init.d/apache2" script. For 
> instance running apache as root with "apache2ctl" my app worked as 
> expected.
>
> David Temes.
> ----- Original Message ----- From: "Vasili Sviridov" 
> <vsviridov at exceede.com>
> To: <mono-list at lists.ximian.com>
> Sent: Friday, October 19, 2007 12:39 AM
> Subject: [Mono-list] works with xsp2 but not with mod_mono
>
>
>> 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.
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>> -- 
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.5.488 / Virus Database: 269.15.0/1077 - Release Date: 
>> 18/10/2007 9:54
>>
>>
>



More information about the Mono-list mailing list