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

Sameer Oak sameer.oak at softdel.com
Sat Sep 19 06:18:39 EDT 2009


Hello ALL,

I am facing a problem while executing xsp2 on CentOS 5.2 in i386
platform.

I've installed   mono-2.4.2.3 and xsp-2.4.2 from the tarballs
mono-2.4.2.3.tar.bz2 and xsp-2.4.2.tar.bz2 from location
http://ftp.novell.com/pub/mono/sources-stable/

I've installed mono-2.4.2.3 first and then xsp-2.4.2.
Both the installations went fine with a very trivial initial error of
pkg config with XSP which I could easily resolve by placing
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ environment variable and
exorting the same in the .bashrc of my user on CentOS 5.2.

Mono has been installed fine since I could compile and execute
simple .cs program using mcs and mono respectively.

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.
IsTerminating is set to True
System.IO.FileNotFoundException: 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.
File name: 'Mono.WebServer2, Version=0.2.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756'
  at (wrapper xdomain-invoke) System.AppDomain:CreateInstanceAndUnwrap
(string,string)
  at (wrapper remoting-invoke-with-check)
System.AppDomain:CreateInstanceAndUnwrap (string,string)
  at System.Web.Hosting.ApplicationHost.CreateApplicationHost
(System.Type hostType, System.String virtualDir, System.String
physicalDir) [0x00000] 
  at Mono.WebServer.VPathToHost.CreateHost
(Mono.WebServer.ApplicationServer server, Mono.WebServer.WebSource
webSource) [0x00000] 
  at Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean
root, IApplicationHost ext_apphost, Boolean quiet) [0x00000] 
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.XSP.Server:RealMain
(string[],bool,Mono.WebServer.IApplicationHost,bool)
  at Mono.WebServer.XSP.Server.Main (System.String[] args) [0x00000] 
$

====


-- 
Regards,
- sameer oak.

http://www.softdel.com/




More information about the Mono-devel-list mailing list