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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...