Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7594431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:24:51+00:00 2026-05-30T21:24:51+00:00

I have an ASP.net Login Control which has a link to CreateUserWizard page(register). When

  • 0

I have an ASP.net Login Control which has a link to CreateUserWizard page(register). When I fill the details and click continue, I get this error displayed.

The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.

I hope this error happens in MS Access alone...

Kindly help me to resolve this,

regards,
Arjun

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T21:24:52+00:00Added an answer on May 30, 2026 at 9:24 pm

    because they would create duplicate values in the index, primary key, or relationship.

    It is clear by the error message that you are trying to insert duplicate value of the primary key field in your table. Check your primary key value already exist in your table then add/insert data to your table.

    if(IsUserExist(username)
    {
    //promt user already exists
    }
    else
    {
    //insert new user detail here
    }
    

    If you are customizing this control then you have to check user exist or not.

    Check this links for help:
    Why CreateUserWizard Control automatically adds the ASPNETDB.MDF database?

    Using the Microsoft Access Providers to Replace the Built-In SQL Server Providers
    How to: Customize the ASP.NET CreateUserWizard Control

    On CreatedUser Event do check for user, :

    private bool UserExists(string username)
      {
          if (Membership.GetUser(username) != null) { return true; }
    
          return false;
      }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.Net website which has a remember me feature for Login page.
I have an ASP.NET login control on a page, with the Remember Me checkbox
I have an ASP.NET web page with a Login control on it. When I
I have an ASP.NET MVC control which has to do some work to format
I'm creating a login page. I want to create ASP.NET TextBox controls that have
I have an ASP.NET home page where user provides his login ID. Depending on
I have an ASP.NET 2.0 application. The login page redirects twice when the login
I'm using ASP.NET MVC 2 and have a login page that is secured via
Just starting out in asp.net. Have just created a login.aspx page in my site
I have an ASP.NET Page that contains a User control called ReportCtrl (my own

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.