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

  1. #1

    Default 80040e14 Error

    Hi Everyone,

    I recently switched from an ODBC driver to the Jet 4.0 OLEDB driver due to
    bugs in the ODBC driver. Now I have a problem on my Login page. First let me
    say that I compacted the Access DB, and that caused my headaches with the
    ODBC driver. The Login page reads 3 tables on loading and displays some
    info. This part is still working fine, so I know the connection is okay.
    When I enter my login name and password, I get the following error:
    Microsoft JET Database Engine error '80040e14'

    Syntax error in FROM clause.

    /index.asp, line 104

    I read the page on this at ASPFAQ.com, but it does not seem to address my
    situation. It discusses using reserved words in the table or sending an INT
    to a STRING var. Neither is my case. This was working fine with the ODBC
    driver, but is now broken. I'm using Dreamweaver MX 2004 and its built-in
    Login routine. So, the FROM clause is from DW, and I checked its live value
    using .NET and the SELECT statement looks fine:

    "SELECT name, pword,rights FROM Password WHERE name='cat' AND pword='p'"

    (This line is cut and pasted directly from the .NET debugger.)

    My production server is still using the ODBC driver, and when I upload the
    compacted DB to it and test it, I get:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e10'

    [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.

    /index.asp, line 104

    When I restore the original DB (without compacting), then it works fine,
    and I get logged into the site. I checked the permissions on the folder and
    the DB, but they look okay, and the Login page is accessing the DB to
    display the first 3 pieces of info.

    I really don't understand this. Any thoughts?? Thanks in advance!

    Cheers,
    Chris
    Dev Env: Win2k - P4; IIS 5; 1G RAM; Access 2000; Connectionless connection
    string (no DSN)


    Chris Guest

  2. Similar Questions and Discussions

    1. Error 80040e14 on connecting to database
      Any ideas?? Here is the error I'm getting: <p>Microsoft OLE DB Provider for ODBC Drivers</font> <font face="Arial" size=2>error...
    2. 80040e14 Error Message
      I have an ASP site running in IIS 5.0 using ASP 3.0. I am making a SQL call to a DB2 database on our AS-400. The site has been running fine for 6...
    3. JET Database Engine error '80040e14'
      I've got a query command that is checking a field name against it's value. The query is pulling from an Access 2000 DB. Here's the script: ...
    4. HELP! ASP Error '80040e14' ???
      Hi. A few days ago this seemed to have worked fine, and for some reason, I am getting the following error now when trying to access a page. In fact,...
    5. 80040e14 error?? DONT GET IT!!
      this is the full error i get when i visit the website http://www.madonnapower.com/forum! here it is; Microsoft OLE DB Provider for ODBC Drivers...
  3. #2

    Default Re: 80040e14 Error

    I'll guess that it's a reserved word issue. Try:

    "SELECT [name], [pword],[rights] FROM [Password] WHERE [name]='cat' AND
    [pword]='p'"

    Take a look here, [url]http://www.aspfaq.com/2080[/url], and you'll see that NAME is a
    reserved word.

    Ray at home

    "Chris" <postonly@aol.com> wrote in message
    news:u94N3R1pDHA.2404@TK2MSFTNGP12.phx.gbl...
    >
    > Syntax error in FROM clause.
    >
    > /index.asp, line 104
    >
    >
    > "SELECT name, pword,rights FROM Password WHERE name='cat' AND pword='p'"
    >

    Ray at Guest

  4. #3

    Default Re: 80040e14 Error

    Ray at <%=sLocation%> wrote:
    > I'll guess that it's a reserved word issue. Try:
    >
    > "SELECT [name], [pword],[rights] FROM [Password] WHERE [name]='cat'
    > AND [pword]='p'"
    >
    > Take a look here, [url]http://www.aspfaq.com/2080[/url], and you'll see that
    > NAME is a reserved word.
    >
    "Password" also.

    To the OP, reserved words should be avoided for your table and column names.
    While Ray's recommended solution of using brackets around the reserved words
    will work, you will be better off in the long run simply changing the names
    of this table and column.

    Bob Barrows


    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Barrows Guest

  5. #4

    Default Re: 80040e14 Error

    That was it. That will teach me to read the reserved word list so quickly!
    ha! Thank you both for replying. I decided to change the table name and the
    field name.

    Cheers,
    Chris

    "Bob Barrows" <reb01501@NOyahoo.SPAMcom> wrote in message
    news:etlLSG4pDHA.1740@TK2MSFTNGP12.phx.gbl...
    > Ray at <%=sLocation%> wrote:
    > > I'll guess that it's a reserved word issue. Try:
    > >
    > > "SELECT [name], [pword],[rights] FROM [Password] WHERE [name]='cat'
    > > AND [pword]='p'"
    > >
    > > Take a look here, [url]http://www.aspfaq.com/2080[/url], and you'll see that
    > > NAME is a reserved word.
    > >
    >
    > "Password" also.
    >
    > To the OP, reserved words should be avoided for your table and column
    names.
    > While Ray's recommended solution of using brackets around the reserved
    words
    > will work, you will be better off in the long run simply changing the
    names
    > of this table and column.
    >
    > Bob Barrows
    >
    >
    > --
    > Microsoft MVP - ASP/ASP.NET
    > Please reply to the newsgroup. This email account is my spam trap so I
    > don't check it very often. If you must reply off-line, then remove the
    > "NO SPAM"
    >
    >

    Chris 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