Does your host support ASP.NET?

The simple answer to this should be found on your hosting company's website. For instance check out DiscountASP.NET's page http://www.discountasp.net/features.aspx which gives a list of features the company offers. You'll notice that at the time of writing DiscountASP.NET offers both ASP.NET 2.0 / ASP.NET 1.1.

Alternatively if you can't find a features page or don't have time to wait for a reply from your hosting company you can create a file called 'test.aspx' and copy the code below into it. Once you've done that, upload the file into your website's root directory.

Next open your web browser and type in the path to the file that you have just placed on the server. It should be www.yoursite.com/test.aspx. If everything is running fine then you'll see a message with the ASP.NET version your server is running.

Another simple way that might work is to open your web browser and type in a file path that doesn't exist for your domain such as http://www.yoursite.com/somefilethatdoesntexist.aspx. This may show a server error message with version information and a version number at the bottom.

<%@ Page Language="VB" %>

<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
lblVersion.Text = "Your server is running ASP.NET, version " & System.Environment.Version.ToString()
End Sub
</script>

<html>
<head>
<title>ASP.NET and ASP.NET Version</title>
</head>
<body>
<form id="form1" runat="server">
<asp:Label ID="lblVersion" runat="server"></asp:Label>
</form>
</body>
</html>

Advertisements



MembersPro

MembersPro PayPal - ASP Membership software

Plug and play ASP membership script that integrates with PayPal to let you charge recurring membership fees.

Get your best asp web hosting provider now and save 25%