Results 1 to 10 of 10

Thread: Problem with a site

  1. #1
    Join Date
    Feb 2003

    Problem with a site

    Hi All,

    This is regarding the website 'http://iopc.info/forum/default.asp'.

    This page opens everywhere except in any PC at my office. The error which it shows is as below

    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

    [Microsoft][ODBC Microsoft Access Driver] 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.

    /forum/active_users.inc, line 172


    Can someone please fidn out what could this problem be?


  2. #2
    Join Date
    Jan 2003
    Dundee, Scotland
    to start with can you post some of the code so i can have a look at it.
    The error is occurring in the include file active_users.inc

    As the error messages suggests you are trying to write to a field in your database a value that compromises the database integrity. A Primary Key should be unique the error suggests you are trying to enter a value into the primary key field that has already been used. It may also be a relating field that is causing the problem. Again you should make sure that you're database integrity is not being compromised when you are trying to write to the database.

    Anyway post the code.

  3. #3
    Join Date
    Dec 2002
    I'm not sure exactly, but it seems that if you cannot pull up the page, and its giving you that error, then it sounds to me like it is taking some information about you (like IP or.. something..?) and putting it in a database.

    My suggestion would be to clear out your browser's cached files and try again. I don't know exactly what the problem is, but that just might solve it. I've seen variants of this issue before, and that ended up solving the problem... at least on my intranet it did...

  4. #4
    Join Date
    Jan 2003
    Dundee, Scotland
    nothing to do with IP Nicodemas.

  5. #5
    Join Date
    Dec 2002
    Thanks, but I wasn't saying it was, in fact, the IP. I'm only saying that it could very well have been some sort of information that the server is gathering when the user starts a session, and that information is causing an error because the field that this information is populating is set to Index [No Duplicates].

    So yeah...

  6. #6
    Join Date
    Jan 2003
    Dundee, Scotland
    well Nicodemas if you read the error message that was posted you would see that the error occurred in the active_users.inc file which is an include file. This file has nothing to do with the start of a session. Sessions are dealt with in the global.asa file as is capturing HTTP header details such as IP etc. The error is caused by exactly the reason that is stated in the error message. He is trying to write a value into a field thatís has been declared either a Primary Key or a relationship key, which already exists in the database. This will produce an error because it compromises the database integrity. A primary Key means it is unique therefore it is going to give you an error if the value is being used again to uniquely identify a record.

  7. #7
    Join Date
    Nov 2002
    yes but you'll notice, ribeyed, that he hasnt said that it's his website - he's just getting an asp error from it.

    Now of course it might be his website, but that's not been said, which would make Nico's comment (about clearing cache etc) quite sensible, especially when you consider it with your comment of "He is trying to write a value into a field thatís has been declared either a Primary Key or a relationship key, which already exists in the database" - if it's not his site, then the variable s may be coming from somewhere else.

    It's just a suggestion of course, but i await more postings from the thread started to see what exactly is going on!

  8. #8
    Join Date
    Jan 2003
    Dundee, Scotland
    point well taken jpmoriarty, appologies to Nicodemas


  9. #9
    Join Date
    Feb 2003
    Hi All,

    Thanks a lot to you for your interest and suggestions for this. But if you notice this line whcih I wrote:

    This page opens everywhere except in few PC's.

    I can browse this page very well at my home, but am my work place its giving this error, which is surprising. I can cleared the cache, reinstalled the browser, but still the same probs.

    Well this is not my site, and I have also asked the admin of the site to look into this matter.


  10. #10
    Join Date
    Jan 2003
    Dundee, Scotland
    well the only think i can think of is that the firewall your company is using will not let you display that site. Your admin should be able to tell you that. It maybe just the case of setting firewall to allow access for the sites ip address.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.27982 seconds
  • Memory Usage 2,930KB
  • Queries Executed 13 (?)
More Information
Template Usage (32):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (10)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates