Question

Photo of Michael Garrison

0

.NET 4.5.1 requirement for 0.5 update

I see in IIS that .net has 4.5 available in the application pool. I don't see any mention of 4.5.1, but when I download the 4.5.1 RTM installer, it asks if it should repair or uninstall 4.5.1, leading me to believe that I do have it installed.

But when I download the tester, stick it in my webroot and load the URL, I see this (both from the server and external clients:

----------------------------------

<%@ Page Language="C#" %>< %@ Import Namespace="System.Net.Sockets" %>< %@ Import Namespace="System.Security.AccessControl" %>< %@ Import Namespace="System.IO" %>< %@ Import Namespace="System.Net" %>

ROCK RMS

----------------------------------

I kind of assume that's not what I'm supposed to see, so what am I doing wrong?

Thanks

  • Photo of Jeremy Hoff

    1

    Hi Michael,

    For some reason, Microsoft's installers lead to installs of .Net 4.5.1 looking the same as 4.5 to most of us mortals. If the installer for 4.5.1 is not proposing an update, you are golden.

    I hope that helps,

  • Photo of Jim Michael

    1

    Michael, that's definitely not what you're supposed to see. It looks like your browser is actually displaying the contents of the file instead of the server running it. I simply dropped the DotNetTester.aspx file into the wwwroot folder on my Rock server and when I nagivate to that file I get a rendered page that looks like this

    • Michael Garrison

      Certainly something like that is more like what I expected to see. And although it looks like sourcecode, I opened up the file and there's a lot more than that in it, so neither is it straight displaying the contents. Weird.


      Edit: Details, details, details...for some reason it downloaded as DotNetTester.htm instead of the .aspx extension. Which would explain displaying code the HTML engine understood while ignoring the bulk of the code (in an unrecognized tag). Once I changed the extension I saw a screen like you posted. Which was good, since I'd already upgraded to 0.5 =)