Membership Provider problem: spot Wally

A

Andrew Wrigley

Hi

I am using a custom database for Membership. The web admin tool connects
fine to MySqlMembershipProvider, but when I try to use my login page I get
the following error:

System.Web.HttpException: Could not find the specified Membership Provider.

All was working fine until I changed the name of the database.

I have overriden the LocalSqlServer connection string in the Web.Config file
to point at my custom database.

The custom database was set up using the aspnet_regsql command line tool,
ie, I added the standard tables etc to an existing database. The reason for
doing this is that I only have one sql server db available for my client's
site, so need everything in the same db (the site is an ecommerce site for
selling mature trees so needs a searcheable catalogue, all of which is
working fine).

Also, I cannot delete the AspNetDb.mdf file that was installed in App_Data
when I was testing the Membership API using sql express on my dev machine.

Hope someone can spot the Wally!

Andrew Wrigley
 
A

Andrew Wrigley

Hi

I have just spotted two or three Wallys. Main problem, the out source
developer implemented things using webservices, so different web.config
applies to the one I was amending.

Will post any other Wally I spot.

Regards

Andrew Wrigley
 
A

Andrew Wrigley

Sorry, the files were in a real mess, the webservice was an old
implementation, and the new implementation used a different Membership
Provider.

All Wallys now accounted for.

Andrew Wrigley
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top