ASP not working correctly for me

Status
Not open for further replies.

unloco

New Member
Messages
3
Reaction score
0
Points
0
Hello
i tried running this simple script on my website but with no luck
Code:
<%@ Page Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
     Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
        Try
            Response.Write("Your ASP.NET version is: " & System.Environment.Version.ToString())
        Catch ex As Exception
            Response.Write(ex.ToString())
        End Try
    End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>ASP.Net Test</title>
    <script runat="server">
     Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
        Try
            Response.Write("Your ASP.NET version is: " & System.Environment.Version.ToString())
        Catch ex As Exception
            Response.Write(ex.ToString())
        End Try
     End Sub
    </script>
</head>
<body>
    <form id="form1" runat="server">
    </form>
</body>
</html>

here is the link
http://vbsign.x10.mx/ver.aspx
as you can see it is throwing an error
how can i even see what is that error?
here is my webconfig file
Code:
<?xml version="1.0" ?>
<configuration>
  <appSettings />

  <connectionStrings />

  <system.web>
    <customErrors mode="Off" />
  </system.web>
</configuration>
i followed this tutorial but with no success !!
any help please :)
Thank You
 
Last edited:

unloco

New Member
Messages
3
Reaction score
0
Points
0
the error message has changed to
Code:
[B][SIZE=1]Server Error in '/' Application[/SIZE][/B]

[B][SIZE=1][I]The resource cannot be found.[/I][/SIZE][/B]

 [SIZE=1][B]Description: [/B]HTTP 404. The resource you are looking  for (or one of its dependencies) could have been removed, had its name  changed, or is temporarily unavailable.  Please review the following URL  and make sure that it is spelled correctly.[/SIZE]
 [SIZE=1][B]Requested URL: [/B]/ver.aspx[/SIZE]

though in public_html there really is the ver.aspx file
 
Last edited:

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
Asp hasn't worked here in a long time. There's no eta if it'll be fixed or dropped. This is due to ASP being a windows program, and all the servers here are linux.
 

unloco

New Member
Messages
3
Reaction score
0
Points
0
Asp hasn't worked here in a long time. There's no eta if it'll be fixed or dropped. This is due to ASP being a windows program, and all the servers here are linux.
it's a Microsoft product indeed but thanks to the mono project it would work.
i have a problem which asp solves better than php and is to generate an image with arabic letters in it. i will try another server side language, perl, for instance !!
 
Status
Not open for further replies.
Top