aspnet2008
06-12-2008, 08:10 PM
Hi Guys,
Need some help with the ASP.Net membership and Login control.
I am using Visual Studio 2008, asp.net 3.5 and SQL server express.
I get as far as the website administration tool, click on the security tab, but the following message is diaplayed:
"There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.
The following message may help in diagnosing the problem: Unable to connect to SQL Server database. "
So i click choose data store, then select Select a single provider for all site management data and AspNetSqlProvider is listed as a provider.
But when i click test the following message appears:
"Could not establish a connection to the database.
If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. "
BUT i have run aspnet_regsql and setup the databse correctly as the aspnet tables for the membership and login control are showing in my sql server databse.
Anyone have any ideas how to get the administration tool working??
Need some help with the ASP.Net membership and Login control.
I am using Visual Studio 2008, asp.net 3.5 and SQL server express.
I get as far as the website administration tool, click on the security tab, but the following message is diaplayed:
"There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.
The following message may help in diagnosing the problem: Unable to connect to SQL Server database. "
So i click choose data store, then select Select a single provider for all site management data and AspNetSqlProvider is listed as a provider.
But when i click test the following message appears:
"Could not establish a connection to the database.
If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. "
BUT i have run aspnet_regsql and setup the databse correctly as the aspnet tables for the membership and login control are showing in my sql server databse.
Anyone have any ideas how to get the administration tool working??