问题描述
我最近从Visual Studio 2012升级到了2013.我在升级时遇到了问题,删除了两者的所有痕迹,仅安装了2013年.升级了几个项目后,我发现这些项目中的权限均无效.一世 尽管也许这是升级项目的问题,所以创建了一个只有一个表和几个字段,一个屏幕的新小型应用程序.存在相同的问题.我在权限调用期间创建了一个断点,发现Roles字符串是 空的.有任何问题或建议吗?
I recently upgraded from Visual Studio 2012 to 2013. I had issues with the upgrade, removed all traces of both and installed only 2013. After upgrading a few projects, I found the permissions weren't working in any of the projects. I though perhaps it was an issue with the projects being upgraded, so created a new small app with just 1 table and a few fields, one screen. The same problem exists. I created a breakpoint during the permissions call and found the Roles string is empty. Anyone had the issue or have any suggestions?
推荐答案
如果没有,请下载文章中附带的代码,然后查看它是否可以运行.如果没有重新安装Visual Studio.
If it doesn't, download the code that goes wit the article and see if it runs. If it doesn't re-install Visual Studio.
这篇关于角色/访问控制不起作用.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!