<p>I have a site running in a Windows shared hosting environment. In their control panel for the shared hosting account I have it set to use ASP.NET version 3.0 but it doesn't say 3.5 SP1 specifically.</p>

<p>How can I view the installed version running on the server where my website is hosted in an asp.net page?</p>

[{'answer_id': 37470, 'author': 'Daniel Jennings', 'author_id': 3641, 'author_profile': 'https://Stackoverflow.com/users/3641', 'pm_score': 2, 'selected': False, 'text': "<p>One way is to throw an exception in Page Load, but don't catch it. At the bottom of the page, you'll see the version number.</p>\n"}, {'answer_id': 37498, 'author': 'Brian Boatright', 'author_id': 3747, 'author_profile': 'https://Stackoverflow.com/users/3747', 'pm_score': 4, 'selected': True, 'text': '<p>Thanks!</p>\n\n<p>I just dropped &lt;%=Environment.Version%> on a page and got 2.0.50727.3053</p>\n'}, {'answer_id': 37530, 'author': 'Michael Ratanapintha', 'author_id': 1879, 'author_profile': 'https://Stackoverflow.com/users/1879', 'pm_score': 3, 'selected': False, 'text': '<p>@Jon Limjap: Unfortunately, this tells you the .NET CLR (runtime library) version, <em>not</em> the version of the .NET Framework.  These two version numbers are not always the same; in particular, the .NET Framework 3.0 and 3.5 both use the .NET CLR 2.0.  So the OP may indeed have only .NET 2.0 SP1, as the Environment.Version indicates, or he may also have the .NET 3.5 SP1 which he is looking for.</p>\n'}, {'answer_id': 6564854, 'author': 'JanBorup', 'author_id': 276414, 'author_profile': 'https://Stackoverflow.com/users/276414', 'pm_score': 1, 'selected': False, 'text': '<p>The hint from Brian Boatright by putting the <code>&lt;%=Environment.Version%&gt;</code> on a page, and save it in DotNetVersion.aspx, upload it, at testing on the right URL, world great.</p>\n\n<p>Sadly it was an too old version for me: 1.1.4322.2443</p>\n'}]
['https://Stackoverflow.com/questions/37468', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3747/']