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
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