> You also need to copy Mono.WebServer2.dll and Mono.Security.dll I uninstalled mono 2.6 , installed 2.4 and copied those 2 files from 2.4 installation.
Running C:\myapp\web>mono "C:\Program Files\Mono-2.4.2.2\lib\mono\2.0\winhack\xsp2.exe" causes exception below. How to use Mono 2.4 web server in Windows Vista ? Andrus. ** (C:\Program Files\Mono-2.4.2.2\lib\mono\2.0\winhack\xsp2.exe:5008): WARNING **: Missing method Mono.WebServer.XSPWebSour ce::.ctor(IPAddress,int,SecurityProtocolType,X509Certificate,PrivateKeySelectionCallback,bool,bool,bool) in assembly C:\PRO GRA~1\MONO-2~1.2\lib\mono\gac\Mono.WebServer2\0.2.0.0__0738eb9f132ed756\Mono.WebServer2.dll, referenced in assembly C:\PROG RA~1\MONO-2~1.2\lib\mono\gac\xsp2\2.4.2.0__0738eb9f132ed756\xsp2.exe Handling exception type MissingMethodException Message is Method not found: 'Mono.WebServer.XSPWebSource..ctor'. IsTerminating is set to True System.MissingMethodException: Method not found: 'Mono.WebServer.XSPWebSource..ctor'. Server stack trace: at (wrapper managed-to-native) System.Runtime.Remoting.RemotingServices:InternalExecute (System.Reflection.MethodBase,obj ect,object[],object[]&) at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage (System.MarshalByRefObject target, IMethodCallMessage reqMsg) [0x00000] Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, S ystem.Exception& exc, System.Object[]& out_args) [0x00000] mono "C:\Program Files\Mono-2.4.2.2\lib\mono\2.0\winhack\xsp2.exe" --version returns xsp2.exe 2.4.2.0 (c) (c) 2002-2007 Novell, Inc. Minimalistic web server for testing System.Web _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
