duplicate message from my asp page

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default duplicate message from my asp page

    Hi..
    Ok how could I create an insert pages that whenever it found any duplicate ID
    like car registration number, DW page will prompt me an error message custom by
    me, currently when I insert the duplicate id in my insert pages, IE will route
    me to error pages with error as below

    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
    [Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY
    constraint 'PK_Car_Plate'. Cannot insert duplicate key in object 'Car_Plate'.
    /dua.asp, line 115

    samkry Guest

  2. Similar Questions and Discussions

    1. duplicate page printing
      Hello, I ran acrossed a strange problem today in IDCS on XP. I have an 8 pg document and in the print dialog box I have it set to print all pages....
    2. Page Has Expired Message in between the php Page When I click Back in Explorer Menu
      Could anyone please help me on this?? I have a php script page, which is basically quiz. Visitors (after login in with their email address) are...
    3. How can i use one page and duplicate it throughout my doco ?
      Hi All, I just want to test output file size (as a pdf)...so i have loaded up one page with typical content....now i just want to proliferate it...
    4. Duplicate value appears on page for 1 field in 1 record
      This is very very strange. I have an ASP page that reads records from a database and displays a list of them on the screen. For some reason the...
    5. Windows XP Error Message - Duplicate Name Exists on the Network
      I am trying to solve this problem and would like some guidance on where to go with it. I use the notebook at home, attached to a LAN, Linksys...
  3. #2

    Default Re: duplicate message from my asp page

    Use the "Check New Username" behavior. You can check any field which cannot
    be duplicated, not just usernames. It's under the "User Authentication"
    menu in the server behaviors panel.

    "samkry" <webforumsuser@macromedia.com> wrote in message
    news:cuvpma$9n5$1@forums.macromedia.com...
    > Hi..
    > Ok how could I create an insert pages that whenever it found any
    duplicate ID
    > like car registration number, DW page will prompt me an error message
    custom by
    > me, currently when I insert the duplicate id in my insert pages, IE will
    route
    > me to error pages with error as below
    >
    > Error Type:
    > Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
    > [Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY
    > constraint 'PK_Car_Plate'. Cannot insert duplicate key in object
    'Car_Plate'.
    > /dua.asp, line 115
    >

    CMBergin Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139