How to Check Your Hosting Provider Support ASP.NET or Not? - Windows ASP.NET Core Hosting 2024 | Review and ComparisonWindows ASP.NET Core Hosting 2024 | Review and Comparison

This is only simple tutorial to check whether your hosting provider support ASP or not. If your hosting provider doesn’t support ASP.NET, then you can check our recommendation for asp.net hosting.

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/yourfile.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>

[crp]

Leave a Reply