mail-archives/mono-list/2005-February/025898.html

111 строки
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] xsp, and gtk# install problems on Mac
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mschonfield%40virtutis.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="025936.html">
<LINK REL="Next" HREF="025943.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] xsp, and gtk# install problems on Mac
</H1>
<B>Malcolm Schonfield
</B>
<A HREF="mailto:mschonfield%40virtutis.com"
TITLE="[Mono-list] xsp, and gtk# install problems on Mac">mschonfield@virtutis.com
</A><BR>
<I>Mon, 21 Feb 2005 17:05:55 +0100</I>
<P><UL>
<LI> Previous message: <A HREF="025936.html">[Mono-list] RH9 packages
</A></li>
<LI> Next message: <A HREF="025943.html">[Mono-list] xsp, and gtk# install problems on Mac
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25898">[ date ]</a>
<a href="thread.html#25898">[ thread ]</a>
<a href="subject.html#25898">[ subject ]</a>
<a href="author.html#25898">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi,
I have a problem with xsp (version 1.0.6.0). I can start the server:
$ sudo mono /usr/lib/mono/1.0/xsp.exe --port 8081
xsp
Listening on port: 8081
Listening on address: 0.0.0.0
Root directory: /usr/share/doc/xsp/test
Hit Return to stop the server.
, however I get the following whenever xsp receives a request:
System.InvalidOperationException: Process has not been started.
in &lt;0x00084&gt; System.Diagnostics.Process:get_ExitCode ()
in &lt;0x0006c&gt; (wrapper remoting-invoke-with-check)
System.Diagnostics.Process:get_ExitCode ()
in &lt;0x002a0&gt; Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch
(System.CodeDom.Compiler.CompilerParameters,string[])
in (unmanaged) (wrapper xdomain-dispatch)
Mono.ASPNET.XSPApplicationHost:ProcessRequest
(object,byte[]&amp;,byte[]&amp;,int,long,int,long,int,string,string,string,strin
g,byte[],string)
in &lt;0x00108&gt; (wrapper xdomain-dispatch)
Mono.ASPNET.XSPApplicationHost:ProcessRequest
(object,byte[]&amp;,byte[]&amp;,int,long,int,long,int,string,string,string,strin
g,byte[],string)
in &lt;0x0029c&gt; (wrapper xdomain-invoke)
Mono.ASPNET.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string)
in &lt;0x0013c&gt; (wrapper remoting-invoke-with-check)
Mono.ASPNET.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string)
in &lt;0x0059c&gt; Mono.ASPNET.XSPWorker:Run (object)
I get this when XSP is requested a ASP.NET page or even a simple flat
html page. I'm running mono on Mac OS X 10.3, I have mono 1.1.4
installed.=20
I've looked around for previous encounters of this problem and found two
references:
1) Try removing contents of .wapi directory
No joy
2) Make sure $PATH contains mcs
$ echo $PATH
/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:.
$ mcs --version
Mono C# compiler version 1.1.4.0
So i guess that's not the problem.
Now I have a reason to try out the mono debugger!=20
Otherwise, my simple console hello world app works. I'm a bit stuck in
installing gtk# on the mac. For the full story:=20
<A HREF="http://www.gotmono.com/cgi-bin/yabb/YaBB.pl?board=3Dnews;action=3Ddisplay=">http://www.gotmono.com/cgi-bin/yabb/YaBB.pl?board=3Dnews;action=3Ddisplay=</A>
;nu
m=3D1108662398;start=3D0=20
Thanks for any help on this!
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="025936.html">[Mono-list] RH9 packages
</A></li>
<LI> Next message: <A HREF="025943.html">[Mono-list] xsp, and gtk# install problems on Mac
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25898">[ date ]</a>
<a href="thread.html#25898">[ thread ]</a>
<a href="subject.html#25898">[ subject ]</a>
<a href="author.html#25898">[ author ]</a>
</LI>
</UL>
</body></html>