自定义角色提供程序的WSAT安全选项卡错误 [英] WSAT Security tab error for Custom Role provider

查看:110
本文介绍了自定义角色提供程序的WSAT安全选项卡错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用INGRES数据库创建了一个自定义成员资格角色和配置文件提供程序.现在,我可以在WSAT的提供程序"选项卡(为每个功能选择一个不同的提供程序(高级))中看到我的IngresMembership IngresRole 提供程序,但是当我在安全性"选项卡上单击时,会出现此错误:

您选择的数据存储存在问题.这可能是由于服务器名称或凭据无效或权限不足引起的.也可能是由于未启用角色管理器功能引起的.单击下面的按钮将其重定向到您可以在其中选择新数据存储的页面.
以下消息可能有助于诊断问题:对象引用未设置为对象的实例."

我想念什么?我是否需要为角色提供程序的所有替代方法添加代码?我刚刚编写了Initialize GetRolesForUser 函数的代码.

谢谢!

I have created a custom Membership Role and Profile provider using INGRES db. Now I can see my IngresMembership and IngresRole provider in the Provider tab (Select a different provider for each feature (advanced) ) of WSAT but when I clik on security tab, I get this 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: Object reference not set to an instance of an object."

What am I missing? Do I need to add code for all override methods for Role provider? I have just written code for the Initialize and GetRolesForUser functions.

Thanks!

推荐答案

好的.只需确保已针对自定义提供程序完成所有实现.
Ok it is possible. just need to make sure that all implementation is done for the custom providers.


这篇关于自定义角色提供程序的WSAT安全选项卡错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆