[Mono-list] ASP.NET

peter apvx95 at dsl.pipex.com
Mon Jan 23 15:25:47 EST 2006


Hi All,

I've developed a little test ASP.NET application using Visual Studio, 
which runs fine on Windows.  It is called MSc.

Using XSP, listening on its default port and using /usr/lib/xsp/test as 
its root, I copied the application folder (MSc) from the Windows 
partition on my box to the XSP root directory:

linux:/windows/C/Inetpub/wwwroot # cp -R MSc /usr/lib/xsp/test

I then tried to run the application by entering the following into the 
Firefox address bar:

http://localhost:8080/MSc/

The following error message is then displayed:


    /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: *Cannot find type MSc.Starter

*File name: * /usr/lib/xsp/test/MSc/index.aspx    *Line: *1 **

***Source Error: * **||

<%@ Page language="c#" Codebehind="index.aspx.cs" AutoEventWireup="false" Inherits="MSc.Starter" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>


In the bin directory I have a single assembly called MSc.dll, which is 
the name VS gave to it - presumably because it's the name of the 
project.  In the MSc directory I have the following files:
*  AssemblyInfo.cs
*  Global.asax
*  Global.asax.cs
*  index.aspx
*  index.aspx.cs
*  index.aspx.resx
*  MSc.csproj
*  MSc.csproj.webinfo
*  Web.config

The Starter class is defined in index.aspx.cs

Do I have to do something special in Mono to get this to work?

I've attached an archive containing the above.

Thanks in advance,


Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSc.tar.gz
Type: application/x-gunzip
Size: 12135 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20060123/add7d80f/MSc.tar-0001.bin


More information about the Mono-list mailing list