Invalid object name 'TABLE'

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Invalid object name 'TABLE'

    Can someone please tell me why I keep getting the following error? I think
    it is part of the connection but can't pin down the exact error. I would be
    grateful if someone might have any ideas.



    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
    [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name
    'itemSecUsers'.
    /eOrders/_ScriptLibrary/Recordset.ASP, line 466

    ...:: CODE ::..

    function _RS_open()
    {
    if (this._rsADO != null)
    {
    if (!this.isOpen())
    {
    this._objEventManager.fireEvent(RS_ONBEFOREOPEN);
    if (this._params != null)
    {
    for (var i=0; i < this._params.length; i++)
    {
    if (typeof(this._params[i]) != 'undefined')
    this._rsADO.ActiveCommand.Parameters(Number(i)).va lue =
    this._params[i];
    }
    }

    // force AbsolutePosition to work in server-side cursor for SQL
    if (this._rsADO.CursorLocation == 2)
    this._rsADO.Properties('IRowsetScroll') = true;

    // double-check after ONBEFOREOPEN is fired
    if (!this.isOpen())
    this._rsADO.Open(); // line 466

    this._objDBConn = this._rsADO.ActiveConnection;
    this.fields = CreateFields(this._rsADO);
    this._bExecuted = true;

    if (this._bookmark != 0)
    this.setBookmark(this._bookmark);
    else
    this._syncBOFandEOF();

    // fire initial events
    this._objEventManager.fireEvent(RS_ONROWENTER);
    this._objEventManager.fireEvent(RS_ONDATASETCHANGE D);
    this._objEventManager.fireEvent(RS_ONDATASETCOMPLE TE);
    return true;
    }
    }
    return false;
    }



    MyATiX Guest

  2. Similar Questions and Discussions

    1. SQL invalid object name
      I used SQL administrator to copy a database. Registered it successfully with XP, and CF Administrator. I can run query analyzer with the new...
    2. Invalid object name
      So, this keeps popping up. I'm running scripts to create databases and ODBC connections and this error pops up quite frequently. It's not good. ...
    3. Invalid Object Name??
      BTW, I'm using CFMX7 on Win2003Server
    4. Invalid Object Name??
      I am having sort of the same problem. The query works fine until I go into Enterprise Manager and edit some content in the table the query is using....
    5. Could not load type VTFixup Table from assembly Invalid token in v-table fix-up table.
      We are getting this error after clearing the web.config of database infomation - even after using the wizard to re-enter the information. I could...
  3. #2

    Default Invalid object name 'TABLE'

    Can someone please tell me why I keep getting the following error? I think
    it is part of the connection but can't pin down the exact error. I would be
    grateful if someone might have any ideas.



    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
    [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name
    'itemSecUsers'.
    /eOrders/_ScriptLibrary/Recordset.ASP, line 466

    ...:: CODE ::..

    function _RS_open()
    {
    if (this._rsADO != null)
    {
    if (!this.isOpen())
    {
    this._objEventManager.fireEvent(RS_ONBEFOREOPEN);
    if (this._params != null)
    {
    for (var i=0; i < this._params.length; i++)
    {
    if (typeof(this._params[i]) != 'undefined')
    this._rsADO.ActiveCommand.Parameters(Number(i)).va lue =
    this._params[i];
    }
    }

    // force AbsolutePosition to work in server-side cursor for SQL
    if (this._rsADO.CursorLocation == 2)
    this._rsADO.Properties('IRowsetScroll') = true;

    // double-check after ONBEFOREOPEN is fired
    if (!this.isOpen())
    this._rsADO.Open(); // line 466

    this._objDBConn = this._rsADO.ActiveConnection;
    this.fields = CreateFields(this._rsADO);
    this._bExecuted = true;

    if (this._bookmark != 0)
    this.setBookmark(this._bookmark);
    else
    this._syncBOFandEOF();

    // fire initial events
    this._objEventManager.fireEvent(RS_ONROWENTER);
    this._objEventManager.fireEvent(RS_ONDATASETCHANGE D);
    this._objEventManager.fireEvent(RS_ONDATASETCOMPLE TE);
    return true;
    }
    }
    return false;
    }



    MyATiX Guest

  4. #3

    Default Re: Invalid object name 'TABLE'

    > Error Type:
    > Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
    > [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name
    > 'itemSecUsers'.
    > /eOrders/_ScriptLibrary/Recordset.ASP, line 466
    Well obviously it has something to do with itemSecUsers, maybe something
    that is used for opening something in the recordset (this._rsADO.Open();) ?

    As far as i can see no code with itemSecUsers is included, so I would start
    looking where it goes wrong with itemSecUsers...

    --
    Greetings,

    Tjoekbezoer
    "MyATiX" <myatix_at_hotmail.com> schreef in bericht
    news:%23Dt$DkjjDHA.1960@TK2MSFTNGP12.phx.gbl...
    > Can someone please tell me why I keep getting the following error? I think
    > it is part of the connection but can't pin down the exact error. I would
    be
    > grateful if someone might have any ideas.
    >
    >
    >
    >
    > ..:: CODE ::..
    >
    > function _RS_open()
    > {
    > if (this._rsADO != null)
    > {
    > if (!this.isOpen())
    > {
    > this._objEventManager.fireEvent(RS_ONBEFOREOPEN);
    > if (this._params != null)
    > {
    > for (var i=0; i < this._params.length; i++)
    > {
    > if (typeof(this._params[i]) != 'undefined')
    > this._rsADO.ActiveCommand.Parameters(Number(i)).va lue =
    > this._params[i];
    > }
    > }
    >
    > // force AbsolutePosition to work in server-side cursor for SQL
    > if (this._rsADO.CursorLocation == 2)
    > this._rsADO.Properties('IRowsetScroll') = true;
    >
    > // double-check after ONBEFOREOPEN is fired
    > if (!this.isOpen())
    > this._rsADO.Open(); // line 466
    >
    > this._objDBConn = this._rsADO.ActiveConnection;
    > this.fields = CreateFields(this._rsADO);
    > this._bExecuted = true;
    >
    > if (this._bookmark != 0)
    > this.setBookmark(this._bookmark);
    > else
    > this._syncBOFandEOF();
    >
    > // fire initial events
    > this._objEventManager.fireEvent(RS_ONROWENTER);
    > this._objEventManager.fireEvent(RS_ONDATASETCHANGE D);
    > this._objEventManager.fireEvent(RS_ONDATASETCOMPLE TE);
    > return true;
    > }
    > }
    > return false;
    > }
    >
    >
    >

    Tjoekbezoer van Damme Guest

  5. #4

    Default Re: Invalid object name 'TABLE'

    > Error Type:
    > Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
    > [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name
    > 'itemSecUsers'.
    > /eOrders/_ScriptLibrary/Recordset.ASP, line 466
    Well obviously it has something to do with itemSecUsers, maybe something
    that is used for opening something in the recordset (this._rsADO.Open();) ?

    As far as i can see no code with itemSecUsers is included, so I would start
    looking where it goes wrong with itemSecUsers...

    --
    Greetings,

    Tjoekbezoer
    "MyATiX" <myatix_at_hotmail.com> schreef in bericht
    news:%23Dt$DkjjDHA.1960@TK2MSFTNGP12.phx.gbl...
    > Can someone please tell me why I keep getting the following error? I think
    > it is part of the connection but can't pin down the exact error. I would
    be
    > grateful if someone might have any ideas.
    >
    >
    >
    >
    > ..:: CODE ::..
    >
    > function _RS_open()
    > {
    > if (this._rsADO != null)
    > {
    > if (!this.isOpen())
    > {
    > this._objEventManager.fireEvent(RS_ONBEFOREOPEN);
    > if (this._params != null)
    > {
    > for (var i=0; i < this._params.length; i++)
    > {
    > if (typeof(this._params[i]) != 'undefined')
    > this._rsADO.ActiveCommand.Parameters(Number(i)).va lue =
    > this._params[i];
    > }
    > }
    >
    > // force AbsolutePosition to work in server-side cursor for SQL
    > if (this._rsADO.CursorLocation == 2)
    > this._rsADO.Properties('IRowsetScroll') = true;
    >
    > // double-check after ONBEFOREOPEN is fired
    > if (!this.isOpen())
    > this._rsADO.Open(); // line 466
    >
    > this._objDBConn = this._rsADO.ActiveConnection;
    > this.fields = CreateFields(this._rsADO);
    > this._bExecuted = true;
    >
    > if (this._bookmark != 0)
    > this.setBookmark(this._bookmark);
    > else
    > this._syncBOFandEOF();
    >
    > // fire initial events
    > this._objEventManager.fireEvent(RS_ONROWENTER);
    > this._objEventManager.fireEvent(RS_ONDATASETCHANGE D);
    > this._objEventManager.fireEvent(RS_ONDATASETCOMPLE TE);
    > return true;
    > }
    > }
    > return false;
    > }
    >
    >
    >

    Tjoekbezoer van Damme Guest

  6. #5

    Default Re: Invalid object name 'TABLE'

    This looks like client-side code, making this question off-topic for these
    asp newsgroups (remember, asp is server-side technology). Moreover, it looks
    like you are using a Visual Interdev DTC recordset (ughhh!), making this a
    good question to ask on one of the m.p.vi.* newsgroups.

    Bob Barrows
    PS. You should not be using the deprecated OLEDB Provider for ODBC Drivers.
    Use the native OLEDB provider for SQL Server instead.
    PPS. My advice is to stay away from VI DTC's - they are horrible: buggy and
    damn near impossible to troubleshoot if you have a problem like this

    MyATiX wrote:
    > Can someone please tell me why I keep getting the following error? I
    > think it is part of the connection but can't pin down the exact
    > error. I would be grateful if someone might have any ideas.
    >
    >
    >
    > Error Type:
    > Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
    > [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name
    > 'itemSecUsers'.
    > /eOrders/_ScriptLibrary/Recordset.ASP, line 466
    >
    > ..:: CODE ::..
    >
    > function _RS_open()
    > {
    > if (this._rsADO != null)
    > {
    > if (!this.isOpen())
    > {
    > this._objEventManager.fireEvent(RS_ONBEFOREOPEN);
    > if (this._params != null)
    > {
    > for (var i=0; i < this._params.length; i++)
    > {
    > if (typeof(this._params[i]) != 'undefined')
    > this._rsADO.ActiveCommand.Parameters(Number(i)).va lue =
    > this._params[i];
    > }
    > }
    >
    > // force AbsolutePosition to work in server-side cursor for SQL
    > if (this._rsADO.CursorLocation == 2)
    > this._rsADO.Properties('IRowsetScroll') = true;
    >
    > // double-check after ONBEFOREOPEN is fired
    > if (!this.isOpen())
    > this._rsADO.Open(); // line 466
    >
    > this._objDBConn = this._rsADO.ActiveConnection;
    > this.fields = CreateFields(this._rsADO);
    > this._bExecuted = true;
    >
    > if (this._bookmark != 0)
    > this.setBookmark(this._bookmark);
    > else
    > this._syncBOFandEOF();
    >
    > // fire initial events
    > this._objEventManager.fireEvent(RS_ONROWENTER);
    > this._objEventManager.fireEvent(RS_ONDATASETCHANGE D);
    > this._objEventManager.fireEvent(RS_ONDATASETCOMPLE TE);
    > return true;
    > }
    > }
    > return false;
    > }


    Bob Barrows Guest

  7. #6

    Default Re: Invalid object name 'TABLE'

    This looks like client-side code, making this question off-topic for these
    asp newsgroups (remember, asp is server-side technology). Moreover, it looks
    like you are using a Visual Interdev DTC recordset (ughhh!), making this a
    good question to ask on one of the m.p.vi.* newsgroups.

    Bob Barrows
    PS. You should not be using the deprecated OLEDB Provider for ODBC Drivers.
    Use the native OLEDB provider for SQL Server instead.
    PPS. My advice is to stay away from VI DTC's - they are horrible: buggy and
    damn near impossible to troubleshoot if you have a problem like this

    MyATiX wrote:
    > Can someone please tell me why I keep getting the following error? I
    > think it is part of the connection but can't pin down the exact
    > error. I would be grateful if someone might have any ideas.
    >
    >
    >
    > Error Type:
    > Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
    > [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name
    > 'itemSecUsers'.
    > /eOrders/_ScriptLibrary/Recordset.ASP, line 466
    >
    > ..:: CODE ::..
    >
    > function _RS_open()
    > {
    > if (this._rsADO != null)
    > {
    > if (!this.isOpen())
    > {
    > this._objEventManager.fireEvent(RS_ONBEFOREOPEN);
    > if (this._params != null)
    > {
    > for (var i=0; i < this._params.length; i++)
    > {
    > if (typeof(this._params[i]) != 'undefined')
    > this._rsADO.ActiveCommand.Parameters(Number(i)).va lue =
    > this._params[i];
    > }
    > }
    >
    > // force AbsolutePosition to work in server-side cursor for SQL
    > if (this._rsADO.CursorLocation == 2)
    > this._rsADO.Properties('IRowsetScroll') = true;
    >
    > // double-check after ONBEFOREOPEN is fired
    > if (!this.isOpen())
    > this._rsADO.Open(); // line 466
    >
    > this._objDBConn = this._rsADO.ActiveConnection;
    > this.fields = CreateFields(this._rsADO);
    > this._bExecuted = true;
    >
    > if (this._bookmark != 0)
    > this.setBookmark(this._bookmark);
    > else
    > this._syncBOFandEOF();
    >
    > // fire initial events
    > this._objEventManager.fireEvent(RS_ONROWENTER);
    > this._objEventManager.fireEvent(RS_ONDATASETCHANGE D);
    > this._objEventManager.fireEvent(RS_ONDATASETCOMPLE TE);
    > return true;
    > }
    > }
    > return false;
    > }


    Bob Barrows 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