Hi all,
I was wanting to create and ASP.NET website on x10 but i am having a bit of a problem. I just created the default asp.net website in visual studio and uploaded it as a test but i am getting an error. Here is the code for the default.aspx page
and here is the code for default.aspx.cs:
as you can see it is pretty basic. but i am getting the following error, as you can see on the site
http://www.stevemedley.x10hosting.com/
Obviously _Default exists. Is this something to do with mono? the page runs fine on my local machine.
I am on the Lotus server on an ad free package, which from what i have read supports ASP.NET and i believe if it didn't i wouldn't even get this far.
So any help would be appreciated. If there is any other info you need, just let me know
I was wanting to create and ASP.NET website on x10 but i am having a bit of a problem. I just created the default asp.net website in visual studio and uploaded it as a test but i am getting an error. Here is the code for the default.aspx page
Code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Steve's ASP.NET Site Test</title>
</head>
<body>
<form id="form1" runat="server">
<div>
Testing x10's ASP.NET hosting capability
</div>
</form>
</body>
</html>
Code:
using System;
using System.Web.UI;
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
http://www.stevemedley.x10hosting.com/
Code:
[B]Server Error in '/' Application[/B]
[B][I]Parser Error[/I][/B]
[B]Description: [/B]Error parsing a resource required to service this request. Review your source file and modify it to fix this error.
[B]Error message: [/B]
Cannot find type _Default
[B]File name: [/B] /home/stevemed/public_html/Default.aspx
[B]Line: [/B]1
[B]Source Error: [/B] [COLOR=red]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
[/COLOR]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
05/20/2008 12:43:31
I am on the Lotus server on an ad free package, which from what i have read supports ASP.NET and i believe if it didn't i wouldn't even get this far.
So any help would be appreciated. If there is any other info you need, just let me know