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

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
 
K

Karl Rhodes

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top