Got an error when I tried to delete a role.

Got an error when I tried to delete a role.

Postby SeanTsang » Wed 03 Jan 2007 19:15

My code is easy and straight as belows:
Roles.DeleteRole(Groups.SelectedItem.Text)

and when i tried to execute the code i got the following error messages:

{"Not unique table/alias: 'ur'"}

Stack:

於 CoreLab.Common.Web.Providers.DbRoleProvider.DeleteRole(String roleName, Boolean throwOnPopulatedRole)
於 System.Web.Security.Roles.DeleteRole(String roleName, Boolean throwOnPopulatedRole)
於 System.Web.Security.Roles.DeleteRole(String roleName)
於 Group_aspx.DeleteRole_Click(Object sender, EventArgs e) 於 C:\Naijen\FlashFile\WebManager\WebAdmin\Group.aspx.vb: 行 38
於 System.Web.UI.WebControls.Button.OnClick(EventArgs e)
於 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
於 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
於 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
於 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Any suggestion would be appreciated.
SeanTsang
 
Posts: 1
Joined: Wed 03 Jan 2007 19:00

Postby Alexey » Fri 05 Jan 2007 13:27

Please send us small test project if possible to reproduce the problem; include definition of your own database objects.
Use e-mail address provided in the Readme file.
Do not use third party components.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL