简体   繁体   English

缺少ASP.NET网站管理工具访问规则按钮

[英]ASP.NET Web Site Administration Tool Access Rule button is missing

I'm following the Walkthrough: Managing Web Site Users with Roles. 我正在按照演练:使用角色管理网站用户。 Everything was successful until I reached the step to add new access rules. 在我完成添加新访问规则的步骤之前,一切都成功了。 My "Add This Rule" button is missing!! 我的“添加此规则”按钮丢失了! Specifically, I opened the tool by selecting Asp.Net Configuration from the Website menu dropdown. 具体来说,我通过从“网站”菜单下拉菜单中选择“ Asp.Net配置”来打开该工具。 In the tool, I clicked The Security Tab, then clicked the Create access rules link. 在该工具中,我单击“安全性”选项卡,然后单击“创建访问规则”链接。 The page opens: 页面打开: 新访问规则屏幕截图

Even if I make changes, the Add This Rule button doesn't appear. 即使我进行更改,“添加此规则”按钮也不会出现。 This happens in Chrome and Internet Explorer 8 and 10. I am able to add users and roles. 这种情况发生在Chrome和Internet Explorer 8和10中。我能够添加用户和角色。 I can view and access the database using Visual Studio's Server Explorer, and the data is there. 我可以使用Visual Studio的服务器资源管理器查看和访问数据库,并且数据在那里。

The Add This Rule button should be there and it isn't. “添加此规则”按钮应该存在而没有。 I'm stuck. 我被卡住了。

Thanks for any advice or direction. 感谢您的任何建议或指示。

System: Windows7Pro, VS2010 V10.0.40219.1SP1Rel, .NET Framework 4.5.50709SP1Rel, all licensed and fresh install about a week ago (just built the computer). 系统:Windows7Pro,VS2010 V10.0.40219.1SP1Rel,.NET Framework 4.5.50709SP1Rel,所有许可和全新安装大约在一周前(仅内置计算机)。

Via your post on the ASP.NET: http://forums.asp.net/t/1937401.aspx?Web+Site+Administration+Tool+Access+Rule+button+missing 通过您在ASP.NET上的帖子: http : //forums.asp.net/t/1937401.aspx? Web+ Site+Administration+Tool+Access+Rule+button+missing

So the answer is if your Add This Rule button is missing, just click the OK button, and the Tool should save your rule. 因此,答案是,如果缺少“添加此规则”按钮,只需单击“确定”按钮,工具便会保存您的规则。

This actually does work. 这确实有效。 I'm not sure why the button is missing, but if you go to Manage access rules , the rule does save if you hit OK. 我不确定为什么缺少该按钮,但是如果您转到“ Manage access rules ,则单击“确定”后,规则会保存。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM