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 Quote
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"); %> Quote
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 Quote
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#? Quote
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! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.