fonze_ellis
-
11/1/2009 12:49:51 AM
RE:Configuring Windows Authentication
Well, we got the problem solved! It was to do with SSL being turned on in the Kentico CMS when our test server wasn't configured for using SSL.
Problem: I was wanting to take a copy of the website files, and a BAK of the SQL database from our production intranet and restore it onto a test server. All is fine, until I try to browse to any pages within the test intranet. The browser just bombs out saying 'Can't display the page'. Digging down behind the scenes, IIS was giving an error code of 401.2 - Unauthorised access.
Everything was enabled properly, Windows Authentication, etc etc. Plus, you could browse to all the pages within CMSDesk.
After weeks of stuffing around, and working with Kentico support (who were very helpful and responsive) the problem ended up simply being related to SSL.
Solution: Our production server uses SSL, so in CMSDesk on the root node of the site, under the 'Properties' tab and then Security, down the bottom the option saying 'Requires SSL' is set to Yes. That's fine for a server configured to use SSL. When on a server not running SSL, the browser just bombs out without any decent error.
Obviously the option is saved in the database, so when restoring to our test server which doesn't use SSL, it was bombing out with no descriptive error. Going into CMSDesk and setting this option to 'No' for SSL let the site work just fine on the test server.
Anyway, thought I would post a follow up to this in case it helps others with the same issue. Surely other people would try restoring a copy of their production system to a test server without SSL and forget the basics like I did! :)
|