Jump to content

Recommended Posts

Posted

I'm having problems to get my ASP .NET site to work.

 

This simple page - with code below - gives a HTTP 500 error: http://bouwproject.heliohost.org/Test2.aspx

 

<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<body>

 

TEST

 

</body>

</html>

 

When I remove the page language declaration at the first line, the page loads fine:http://bouwproject.heliohost.org/Test.aspx

 

I suppose there is something wrong with ASP .NET on the server.

 

Does anyone have a ASP .NET site running?

 

Thanks for the help

 

Posted

The problem is probably that we don't have VB binaries compiled. Try adding the following in between the <body> tags and see if it works:

<%
Response.Write("Hello World");
%>

Posted

Sorry, but I'm having trouble getting vB working and from what I hear the cPanel-compatible version of ASP.NET is not compatible :(

 

Is there any way you can get it working with C#?

Posted

I didn't use C# before, but I could give it at try.

 

I will have a lot of work transforming my current code. I tried changing the page declaration from VB to C# already on the Test-page and there is no error anymore. So I suppose that would be the best solution ...

 

Thanks for looking into this! I appreciate the help!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...