[Mono-list] Some XSP questions

Stefan Kyntchev stefan@airweb.cc
Fri, 4 Apr 2003 09:58:25 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0004_01C2FA90.BC5E3380
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,
 
I am trying to get the XSP code behind test to work. When I run it it
fails saying it can't find the code behind .
Other - non code behind tests seem to work OK. (I am using mono 0.23 and
xsp 0.3 on WindowsXP box)
The error message is:
 
--------------------------------
Parser Error

Description: Error parsing a resource required to service this request.
Review your source file and modify it to fix this error. 

Error message: Directory '/D:/cygwin/usr/stefan/WebTest/server/test/bin'
not found. 
 
Source Error: 
 
Line 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 2: <HTML>
 

Source File: D:\cygwin\usr\stefan\WebTest\server\test\codebehind1.aspx 
--------------------------------
 
It seems like it is confused by the / before D:/...
How do you fix this?
 
How does xsp find the path to the machine.config. When I start it it is
looking for a path C:\cygwin\home\lalo\go-mono\install\etc\mono that
does not exist on my machine. I had to create it so
server.exe can work. 
 
When I run just "server.exe" everything works fine, but in this case it
looks like server.exe is using Microsoft ASPX parser and compiler. I got
confident that everything works fine until I tried to
access a page that did not exist and got a Microsoft Error page
refferencing Microsoft .net framework 1.0. 
I also  noticed that mono error pages look similar, but don't have the
version at the bottom - It would be nice if they had. (I would be glad
to add this once I get everything to work)
 
For some reason server.exe is looking for mcs.bat in the servers virtual
root directory. I have mcs.bat in my windows directory but it refused to
use it. This is not a big deal but I am just curious. 
 
Stefan.

------=_NextPart_000_0004_01C2FA90.BC5E3380
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2723.2500" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D964024114-03042003>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D964024114-03042003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D964024114-03042003>I am =
trying to get=20
the XSP code behind test to work. When I run it it fails saying it can't =
find=20
the code behind .</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D964024114-03042003>Other =
- non code=20
behind tests seem to work OK. (I am using mono 0.23 and xsp 0.3 on =
WindowsXP=20
box)</SPAN></FONT><FONT face=3DArial size=3D2><SPAN =
class=3D964024114-03042003><BR>The=20
error message is:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D964024114-03042003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D964024114-03042003>--------------------------------</SPAN></FONT>=
</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D964024114-03042003>Parser =

Error</SPAN></FONT></DIV><FONT face=3DArial size=3D2><SPAN =
class=3D964024114-03042003>
<DIV><BR>Description: Error parsing a resource required to service this =
request.=20
Review your source file and modify it to fix this error. </DIV>
<DIV><BR>Error message: Directory=20
'/D:/cygwin/usr/stefan/WebTest/server/test/bin' not found. =
</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D964024114-03042003>Source =
Error:=20
</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D964024114-03042003>Line =
1: &lt;!DOCTYPE=20
HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" &gt;<BR>Line 2:=20
&lt;HTML&gt;</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV><FONT><SPAN class=3D964024114-03042003>
<DIV><BR><FONT face=3DArial size=3D2>Source File:=20
D:\cygwin\usr\stefan\WebTest\server\test\codebehind1.aspx </FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D964024114-03042003>--------------------------------</SPAN></FONT>=
</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial size=3D2>It =
seems like it is=20
confused by the / before D:/...</FONT></SPAN></DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial size=3D2>How do =
you fix=20
this?</FONT></SPAN></DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial size=3D2>How =
does xsp find=20
the path to the machine.config.&nbsp;When I start it it is looking for a =
path=20
C:\cygwin\home\lalo\go-mono\install\etc\mono that does not exist on my =
machine.=20
I had to create it so</FONT></SPAN></DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial =
size=3D2>server.exe can work.=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial size=3D2>When I =
run just=20
"server.exe" everything works fine, but in this case it looks like =
server.exe is=20
using Microsoft ASPX parser and compiler. I got confident that =
everything works=20
fine until I tried to</FONT></SPAN></DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial size=3D2>access =
a page that=20
did not exist and got a Microsoft Error page refferencing Microsoft .net =

framework 1.0. </FONT></SPAN></DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial size=3D2>I =
also&nbsp; noticed=20
that mono error pages look similar, but don't have the version at the =
bottom -=20
It would be nice if they had. (I would be glad to add this once I get =
everything=20
to work)</FONT></SPAN></DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial size=3D2>For =
some reason=20
server.exe is looking for&nbsp;mcs.bat in the servers virtual root =
directory. I=20
have mcs.bat in my windows directory but it refused to use it. This is =
not a big=20
deal but I am just curious.&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D964024114-03042003><FONT face=3DArial=20
size=3D2>Stefan.</FONT></SPAN></SPAN></FONT></DIV></BODY></HTML>

------=_NextPart_000_0004_01C2FA90.BC5E3380--