accessing asp.net 2.0 membership classes using vb.net 2005

  • Thread starter Thread starter Karl Rhodes
  • Start date Start date
K

Karl Rhodes

We have an application which runs over the internet and users of this
app use the new asp.net 2.0 security membership classes etc.

We are writing a new backoffice administration tool for it and Im
having trouble working out how to access the remote sqlserver (with the
membership tables in) using vb.net 2005.

I can access the database, but when I come to use the security
membership classes I cant seem to tell the class the connection to use
or setup a provider properly.
I have already added a reference to system.web to the security classes
are already referenced and they show up in intellisense etc.

If any one has a simple set of instructions or a piece of sample code
on how to do this I would appreciate it.

Thanks
 
Sorted it.

Add web.config style provider and membership/role information to the
app.config file. This needs to be wrapped in the system.web tags.
 
Back
Top