Codefixer - ASP tutorials, resources and software
ASP.NET 3.5/2.0 Hosting – Click Here
Home   Articles   Resources   ASP directory   ASP Tutorials   Code Snippets   ASP Applications   Forum
Saturday 5 July
MembersPro PayPal - ASP Membership software

ASP.NET 3.5 Hosting – DiscountASP.NET


ASP Partner ASP Partner ASP Partner more partners...

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>





ASP.NET 3.5/2.0 Web Hosting: 3 Months FREE – Click Here!




About | Contact | Advertise | Feedback | Hire Us | Link

Site developed by Michael Wall - Web Design Belfast N.Ireland.
Copyright © 2000-2008. All rights reserved.

Do you intend to move to ASP.NET or have you already?
Yes will do
Have done
ASP does fine
Not a priority


Directory Software