Oracle Membership Provider error - "Your account was not created"
881469Mar 12 2012 — edited Mar 12 2012Hey guys, I am having the following problem:
In an ASP.net application, I´ve set up the Oracle Providers. I´ve already imported the Oracle.web assembly, as well as the Oracle.Dataaccess assembly.
I´ve set up a custom Membership provider that looks as follows:
<membership defaultProvider="MyOracleMembershipProvider">
<providers>
<add name="MyOracleMembershipProvider"
type="Oracle.Web.Security.OracleMembershipProvider, Oracle.Web, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342"
connectionStringName="OraMembershipConString"
applicationName="OracleMembershipTest"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="4"
minRequiredPasswordLength="7"
passwordAttemptWindow="8"/>
</providers>
</membership>
the connection string looks as follows:
<add name="OraMembershipConString" connectionString="DATA SOURCE=(description=(address_list=(address=(protocol=TCP)(host=ip_address)(port=1521)))(connect_data=(service_name=rdcdb)));PASSWORD=my_password;PERSIST SECURITY INFO=False;USER ID=ASPNET_DB_USER;" providerName="Oracle.DataAccess.Client" />
In ASP.net configuration, I#ve already set up the custom provider in the Provider tab, for both membership and role. On the membership part it is set to "MyOracleMembershipProvider" as stated above. I´m able to go to the Security tab, and click on create user, but after typing in a user name, a password, and the other requirements, and click create user, I get the following:
"Your account was not created. Please try again."
This keeps happening and happening, and I can´t seem to find the problem.
I created the ASPNET_DB_USER account following this tutorial, granting the respective privileges:
http://docs.oracle.com/html/E10928_01/IntroInstallation.htm
and ran the Oracle Provider sql scripts on said schema on the remote server.
I´ve been at this for hours and can´t seem to be able to figure it out :S what could be wrong?
any help would be appreciated!