Hi! I am using Oracle Providers for Membership and Roles and I have this weird problem.
using Oracle.Web.Security;
OracleRoleProvider orp = new Oracle.Web.Security.OracleRoleProvider();
rolesGridView.DataSource = orp.GetAllRoles();
rolesGridView.DataBind();
Anyone who has tried this code work? I am getting an error of
System.InvalidOperationException:
OracleConnection.ConnectionString is invalid
using System.Web.Security;
But when I use System.Web.Security.Roles.Provider.GetAllRoles(); or Roles.Provider.GetAllRoles(); -the gridView will work. I don't know why it won't work with Oracle Provider.