[Mono-list] Running ASP.NET 2.0 with mono
mitcheloc at gmail.com
mitcheloc at gmail.com
Tue Jun 20 06:33:58 EDT 2006
Hello All,
I'm writing my code with ASP.NET 2.0 in Visual Studio 2005 and testing
under CentOS with mod_mono/apache...
Currently, I get this error:
Server Error in '/mono' Application
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 test
File name: /var/www/mono/test.aspx Line: 1
Source Error:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs"
Inherits="test" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="EN">
I understand the 2.0 model to use code behinds and does not compile
files down to dlls, currently I tried both methods and neither solves
the error.
When compiling to a dll with gcms I tossed it into the Bin folder and
received the same error, I'm not sure how to point xsp2 to the dll,
should there be a reference in Web.Config?
Are there any guides to get ASP.NET 2.0 code to run with mod_mono? All
suggestions and pointers will be definitely be appreciated.
Thanks!
More information about the Mono-list
mailing list