Membership usage - want to use znode dB for another sites login

GScully's picture

Howdy, I'm trying to setup a site that uses the znode membership services for authentication. IE: zNode will be my user db for many sites needing a login. I have some users in a zNode dB but my application will not validate the logins.

I used VS2008 and created a site that allows one to register a user then login using that info - it works and populates the asp_tables in zNode. Now if I try to login an existing zNode user it fails authentication.
Here's the code I use to login,
__________________________________________________________
Dim instance As MembershipProvider
instance = Membership.Provider
Dim username As String = txtLoginName.Text
Dim password As String = txtPassword.Text
Dim returnValue As Boolean
Dim name As String = "ZNodeECommerce" 'also tried 'ZNodeMembershipProvider'

instance.ApplicationName = ("ZNodeECommerce")
returnValue = instance.ValidateUser(username, password)
If returnValue = True Then
lblLogonstatus.Visible = True
Else
lblLogonstatus.Visible = True
lblLogonstatus.Text = "Logon failed"
End If
___________________________________________________________

My web.config looks like this:
Basically I copied the membership info from the znode web.config and used it here.
______________________________________________
Using zNode 5.2 Enterprise
Does anyone know what I am missing or what would need to be done to make this login work with the zNode dB?
Thanks

GScully's picture

it works

Ok for some reason this code actually works now, I am able to login wth zNode user acounts on anothe site.