genti
genti

Reputation: 11

.NET Single Sign On no longer works after moving website to another server

I have two websites hosted on the same server (IIS6 on Windows Server 2003 R2). URL for the first website is www.domainname.com URL for the second website is my.domainname.com/website2 where "website2" is a virtual directory under "my" website on the same server. I have configured Single Sign On using forms authentication on both sites and it was working very well. After I moved the first website to another server (IIS7 - Windows Server 2008 R2) SSO stopped working (both ways).

------- Configuration start

<machineKey validationKey="key1" decryptionKey="key2" decryption="3DES" validation="SHA1" />

<authentication mode="Forms">
    <forms requireSSL="true" name="domainnameAuth" domain=".domainname.com" loginUrl="login.aspx" timeout="20" protection="All" path="/" />
</authentication>

What am I missing here? Any help on how to debug this situation is greatly appreciated.

Upvotes: 0

Views: 776

Answers (1)

genti
genti

Reputation: 11

The issue disappeared after installing update http://support.microsoft.com/kb/2656351

I beleive there was an issue with FormsAuthentication.Decrypt/Encrypt and that was fixed after this update.

Thank you for your help Henk!

Upvotes: 1

Related Questions