Boredguy Posted August 12, 2013 Posted August 12, 2013 Just being setting up a new Windows 2012 box for our local websites, but when trying to go though the HAP config I can't seem to find the option to set the Forms Authentication within the Authentication component. I've added the FormsAuthentication module at the root level since it did not appear to be there. Have I missed anything else to enable it, and do I really need to worry about it? I am tempted to try to configure HAP for internal authorisation so we can use it as the primary intranet screen, but that takes a back seat to making sure it's normal remote function is correct
jrink Posted August 12, 2013 Posted August 12, 2013 IIRC, Forms based authentication won't show up unless ASP.NET is installed along with IIS in the Server Roles setup. Documentation doesn't mention this but, that's what I found with my last install.
nickbro Posted August 12, 2013 Posted August 12, 2013 Yep, ASP.net 4.5 needs to be installed, along with HTTP Activation. You will need to open the ~/web.config file and remove the IIS8 bits
jrink Posted August 12, 2013 Posted August 12, 2013 To clarify. I had IIS7 installed, and then installed NET4 (full). Doing that still didn't allow the Forms Authentication to appear, so I had to install ASP.NET from Server Manager as part of the IIS7 role. Once doing that, then Forms Authentication appeared for the HAP Site -> Authentication properties page.
nickbro Posted August 12, 2013 Posted August 12, 2013 That's Windows Server 2008 R2, Windows Server 2012 has IIS8, also has .net 4.5 and 3.5 in server manager, just to confuse you. .net 4.5 is installed by default (Powershell uses it)
Boredguy Posted August 12, 2013 Author Posted August 12, 2013 Cheers guys, adding the HTTP Activation for .Net 4.5 WCF Services fixed it
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now