Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

ASP.NET Web Site Administration Tool Error

$
0
0

I am creating a website in Visual Web Developer 2012, and I have a login page, so I am using the ASP.NET web configuration tool provided in VWD. When I open the tool in my web browser, everything loads fine, but when I go to the security tab at the top of the page to set roles and allowed users on my website, it gives me 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.

I know most of you want my web.config file, so it is provided below.

<?xml version="1.0"?><configuration><system.web><compilation debug="true" targetFramework="4.0"/></system.web></configuration>


I know the answer to this involves connecting to a database, but I'm not quite sure how I can do that. I do have Microsoft SQL Server Express installed and set up, but I have no clue how to connect to it from ASP.Net. Thank you in advance.


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>