AspSQLProvider with PostgreSQL 9

Added by Martin Irigaray almost 3 years ago

Hi, i'm using the provider with a postgreSQL database version 9.
When i try to create a new user o validate an existing one, it gives me error:

Operation aborted due to an exception (see Trace for details)
[ProviderException: Operation aborted due to an exception (see Trace for details).]
NauckIT.PostgreSQLProvider.PgMembershipProvider.GetUserNameByEmail(String email) +512
NauckIT.PostgreSQLProvider.PgMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) +290
System.Web.Security.Membership.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) +207
website.Controllers.AccountController.Register(RegisterModel model) in C:\ideati\honduras\sistema\website\website\Controllers\AccountController.cs:82
lambda_method(Closure , ControllerBase , Object[] ) +162

Can you help me with this situation?
thanks in advance


Replies (2)

RE: AspSQLProvider with PostgreSQL 9 - Added by Martin Irigaray almost 3 years ago

Sorry, was a problem with my connection string.
The database connection failed. But it doesn't gives me any advice of that error.

RE: AspSQLProvider with PostgreSQL 9 - Added by Daniel Nauck about 2 years ago

Hello,

the default exception hides the real exception for security reasons. Just enable debugging and you'll get the real reception.

See our debugging wiki page.

(1-2/2)