Last post Jan 08, 2016 06:49 AM by Candice Zhou
Jan 07, 2016 07:14 AM|ramiwahdan|LINK
I created new webpage in ASP.NET and c# then tried to go to ASP.NET Configuration, when clicked the security link i get the following error:
"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."
if I click "choose data store", i get:
Use this page to configure how Web site management data such as membership is stored. You can use a single provider for all the management data for your site or you can specify a different provider for each feature.
Your application is currently configured to use the provider: AspNetSqlProvider
I find out how to run (aspnet_regsql.exe utility ) but on the last page it says:
"You should now configure the provider for membership, profiles,
role, personalization and SQL Web event provider
to relect the changes you made in this wizard."
I am guessing this is done in web.config, how to do that and what to do?
Jan 08, 2016 06:49 AM|Candice Zhou|LINK
Be sure to "clear" first, there are default settings in machine.config level, like below: