[Mono-dev] Problem of Mono.WebServer2 while executing xsp on CentOS 5.2...

Robert Jordan robertj at gmx.net
Sat Sep 19 07:59:43 EDT 2009


Sameer Oak wrote:
> While testing xsp2 (According to the documentation of XSP, xsp2 is used
> for version xsp-2.4.2), I am getting following error which is halting
> the further installation of Apache 2.0 and using mono-xsp-apache
> combination for my specific use.
> 
> Kindly help me resolve the following problem.
> 
> ====
> 
> $ xsp2 
> Handling exception type FileNotFoundException
> Message is Could not load file or assembly 'Mono.WebServer2,
> Version=0.2.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or
> one of its dependencies. The system cannot find the file specified.

If looks like if you have a parallel mono installation around
that was picked by xsp's configure step in place of your installation
in /usr/local.

Try to configure xsp like this:

./configure --prefix=... --with-runtime=/usr/local/bin/mono

Alternatively, ensure that the new mono occurs in PATH before
the old mono.

Robert



More information about the Mono-devel-list mailing list