When attempting to call ValidateUser I am getting a System.Net.CookieException stating that part of the cookie is invalid. This is only happening for some users. The application is WPF, I can see the cookie value and it looks like it is too long, however there is no control that I can find to determine what cookie information it is using, on users that function properly no cookie is even sent in the authentication request.
System.Net.CookieException: The 'Value'='Auth_User=1075914&Auth%5FUser=1075914&OrgID=12076&Name_First=Blah&Name_Last=Foo&EmailAddress=foo@blah.com&UserPrograms=7:1:2:4:5:7:8:11:12:15:16:17:18:27:28:29:30:32:33:35:36:37:38:39:40:48:52:53:54:55:56:57:58:59:67:69:70:73:74:80:81:82:83:84:85:88:89:90:91:92:93:94:95:96:97:98:99:100:101:102:103:105:106:107:109:110:111:113:114:115:116&CSRoles=xxx,yyyUsers,ssUsers,rrrers,sssers,yyyyUser,stttsers,Btttsers,tttters,yyyyUsers&SFContactId=003C000001OblrhIAB&Institution=My Company - 1+19+11524&Role=Manager&RoleCategory=&MainContact=0&Ea_rm=WebHelpdesk&_LOGIN=1075914&_AUTO=true' part of the cookie is invalid.
at System.Net.Cookie.VerifySetDefaults(CookieVariant variant, Uri uri, Boolean isLocalDomain, String localDomain, Boolean set_default, Boolean isThrow)
at System.Net.CookieContainer.Add(Cookie cookie)
at System.Web.ClientServices.Providers.ProxyHelper.ConstructCookieContainer(String serverUri, String username, String connectionString, String connectionStringProvider)
at System.Web.ClientServices.Providers.ProxyHelper.CreateWebRequestAndGetResponse(String serverUri, CookieContainer& cookies, String username, String connectionString, String connectionStringProvider, String[] paramNames, Object[] paramValues, Type returnType)
at System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider.ValidateUserByCallingLogin(String username, String password, Boolean rememberMe, String serviceUri, Boolean useWFCService, CookieContainer& cookies, String connectionString, String connectionStringProvider)
at System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider.ValidateUserCore(String username, String password, Int32 rememberMeInt, Int32& promptCount, Boolean tryToUseLastLoggedInUser)
at System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider.ValidateUserCore(String username, String password, Int32 rememberMeInt)