joten Posted June 22, 2008 Posted June 22, 2008 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
Ashoat Posted June 22, 2008 Posted June 22, 2008 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"); %>
joten Posted June 22, 2008 Author Posted June 22, 2008 Yes, that works fine: Test Can the VB binaries be compiled or is that not possible? Thanks for the help
Ashoat Posted June 23, 2008 Posted June 23, 2008 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#?
joten Posted June 23, 2008 Author Posted June 23, 2008 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now