开发者

how to enable role in asp.net?

i am trying to enable roles in asp.net but,i am getting few errors and after trying my best i am not able to get them resolved.

I am new to visual studio interface. I tried creating a login page as ASP.NET web application. Then as we have to configure the page to connect to the database to retrieve user details, i clicked on the ASP.NET configuration under Website control.. I was taken to the configuration page with three tabs.. Security was the tab that i was supposed to configure.. But i am not able to go through to the security tab. I get the following error message.

There is a problem with your开发者_JAVA技巧 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 also clicked on the button to select a new data store, but there was only one default data store available.

i enabled my role manager tag to true,but again i am facing the same problem

Any process to configure the security tab would be helpful.


Use steps below:

  1. Configure your database in order to maintain ASP.NET Application Services. You can see here how to do it
  2. Edit your web.config file. See details here
  3. Go to ASP.NET Configuration Tool under Website control and create required roles.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜