Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 156
  • Last Modified:

ASP.NET CONFIGURATION

Hello All,

I tried to use the configuration management tool to set up security for my site, but then I get this.

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

When I tried to create a provider, I got this:

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

What can I do?  THanks
0
Isaac
Asked:
Isaac
1 Solution
 
Juan_BarreraCommented:
You need to setup your Membership database first. If you want to use SqlServer and the default configuration, have a look at this link, it will guide you through the process:

http://msdn.microsoft.com/en-us/library/ms998347.aspx#paght000022_usingthesqlmembershipprovider
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now