Transaction Aborted Error
Posted: Sun 28 Dec 2008 22:05
I get this error when I try to delete a user using the Membership.DeleteUser("xxx");
Someone please help. Thanks!
Code: Select all
Server Error in '/' Application.
current transaction is aborted, commands ignored until end of transaction block
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Devart.Data.PostgreSql.PgSqlException: current transaction is aborted, commands ignored until end of transaction block
Source Error:
Line 23: {
Line 24: //Membership.CreateUser("g", "lami123");
Line 25: Membership.DeleteUser("g");
Line 26:
Line 27:
Stack Trace:
[PgSqlException (0x80004005): current transaction is aborted, commands ignored until end of transaction block]
Devart.Common.Web.Providers.DbMembershipProvider.DeleteUser(String username, Boolean deleteAllRelatedData) +144
[ProviderException: An exception occurred. Please contact your administrator.]
Devart.Common.Web.Providers.DbMembershipProvider.DeleteUser(String username, Boolean deleteAllRelatedData) +215
System.Web.Security.Membership.DeleteUser(String username) +75