Click to See Complete Forum and Search --> : Single Sigon and Forms Authentication - multiple server


THY02K
November 10th, 2005, 02:29 AM
Hi, I'm trying to get Single Sigon/Forms Authentication to work across multiple application. It worked, but only among applications on SAME server - the trick is to remove "isolateApps" from "machineKey" in machine.config:

<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="SHA1"/>

However, one of our apps need to be hosted on a different machine, Single Sign-on failed. I tried to straighten the problem by setting validation/decryption keys in BOTH servers:

<machineKey validationKey='3B29E943741F9F04ED97D11E54CFAD34050E7A790E1D2B1048904F8276A7065CA47A3566BE79E6D86137C89BBB0EF663AD030B00AD277446EF15DE3D43E50F0B'
decryptionKey='0CCC48459DCFCF33B13E1186B97E6241216DD3D9C565C3D7'
validation='SHA1' />

Unfortunately, it didn't help with the situation. Someone suggested to be "Windows serial" (not sure what it's called) needs to be the same (ie clones)? Thanks in advance.

Norman Fung

THY02K
December 1st, 2005, 08:55 PM
so, anyone has experience in webfarm/load balancing?

mmetzger
December 1st, 2005, 09:51 PM
Did you restart IIS on all machines after making the modifications?

THY02K
December 2nd, 2005, 07:23 AM
Jez... that's a good point I overlooked... what idiot I am, let me see.