80040e14 Error Message

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

  1. #1

    Default 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
    months and suddenly I'm getting sporadic 80040e14 errors in the log files.
    The log file message is as follows:

    2003-11-19 16:32:17 12.35.121.12 - 12.35.121.219 47806 GET /add_item.asp
    submit=Order+Sample&item=020440B031&desc=100+Deg+F lat+Machine+Screws&type=Ad
    d|80|80040e14|[IBM][iSeries_Access_ODBC_Driver][DB2_UDB]SQL0104_-_Token___wa
    s_not_valid._Valid_tokens:_(_+_-_?_:_DAY_RRN_CASE_CAST_CHAR_DAYS_HOUR_LEFT_N
    ULL_TRIM_USER. 500
    Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CL R+1.0.3705)

    The code in line 79 and 80 of my add_item.asp page looks like this:

    WBIBKsql = "INSERT INTO APLUS2.WBIBK(WIWUID, WIWPID, WIWTID, WIEVID, WIAPSV,
    WI#BRK) VALUES (" & nUID & "," & nPID & ", 'LI', 'M1', 'APSV1 ', 001)"
    Conn1.Execute WBIBKsql

    I don't get the error message every time this code runs. Sometimes it
    happens once or twice a day, sometimes it is more. All I can find out about
    the error message is that there is a syntax error in the SQL statement but
    I'm baffled as to what the syntax error is.

    Thanks in advance for the help.

    //Joe



    Joe Goeke 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
      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...
    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 Message

    Joe Goeke wrote:
    > 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 months and suddenly I'm getting sporadic 80040e14 errors
    > in the log files. The log file message is as follows:
    >
    > 2003-11-19 16:32:17 12.35.121.12 - 12.35.121.219 47806 GET
    > /add_item.asp
    >
    submit=Order+Sample&item=020440B031&desc=100+Deg+F lat+Machine+Screws&type=Ad
    >
    d|80|80040e14|[IBM][iSeries_Access_ODBC_Driver][DB2_UDB]SQL0104_-_Token___wa
    >
    s_not_valid._Valid_tokens:_(_+_-_?_:_DAY_RRN_CASE_CAST_CHAR_DAYS_HOUR_LEFT_N
    > ULL_TRIM_USER. 500
    > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CL R+1.0.3705)
    >
    > The code in line 79 and 80 of my add_item.asp page looks like this:
    >
    > WBIBKsql = "INSERT INTO APLUS2.WBIBK(WIWUID, WIWPID, WIWTID, WIEVID,
    > WIAPSV, WI#BRK) VALUES (" & nUID & "," & nPID & ", 'LI', 'M1', 'APSV1
    > ', 001)" Conn1.Execute WBIBKsql
    >
    > I don't get the error message every time this code runs. Sometimes it
    > happens once or twice a day, sometimes it is more. All I can find
    > out about the error message is that there is a syntax error in the
    > SQL statement but I'm baffled as to what the syntax error is.
    >
    > Thanks in advance for the help.
    >
    > //Joe
    I suggest putting the value of WBIBKsql into the log file when this error
    occurs. You cannot debug this without knowing the actual SQL statement that
    is causing the error.

    Bob Barrows
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows Guest

  4. #3

    Default Re: 80040e14 Error Message

    You may get a better error message if you use OLEDB instead of ODBC.

    What happens when you try to load that URL with that same querystring?

    Are you checking for apostrophes in your values before trying to insert
    them?

    Since you're using GET instead of POST, if a user enters a lot of data, it
    may be getting truncated and you're losing values. I suggest using POST.

    You haven't been able to duplicate the error?

    Are there any messages from QSYSOPR that may give hints?

    What are the values of nUID and nPID?

    That 001 isn't delimited, so I assume it is numeric. Is that the case?

    Ray at work

    "Joe Goeke" <joe@microplastics.com> wrote in message
    news:OehwL0rrDHA.2408@tk2msftngp13.phx.gbl...
    > 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
    > months and suddenly I'm getting sporadic 80040e14 errors in the log files.
    > The log file message is as follows:
    >
    > 2003-11-19 16:32:17 12.35.121.12 - 12.35.121.219 47806 GET /add_item.asp
    >
    submit=Order+Sample&item=020440B031&desc=100+Deg+F lat+Machine+Screws&type=Ad
    >
    d|80|80040e14|[IBM][iSeries_Access_ODBC_Driver][DB2_UDB]SQL0104_-_Token___wa
    >
    s_not_valid._Valid_tokens:_(_+_-_?_:_DAY_RRN_CASE_CAST_CHAR_DAYS_HOUR_LEFT_N
    > ULL_TRIM_USER. 500
    > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CL R+1.0.3705)
    >
    > The code in line 79 and 80 of my add_item.asp page looks like this:
    >
    > WBIBKsql = "INSERT INTO APLUS2.WBIBK(WIWUID, WIWPID, WIWTID, WIEVID,
    WIAPSV,
    > WI#BRK) VALUES (" & nUID & "," & nPID & ", 'LI', 'M1', 'APSV1 ', 001)"
    > Conn1.Execute WBIBKsql
    >
    > I don't get the error message every time this code runs. Sometimes it
    > happens once or twice a day, sometimes it is more. All I can find out
    about
    > the error message is that there is a syntax error in the SQL statement but
    > I'm baffled as to what the syntax error is.
    >
    > Thanks in advance for the help.
    >
    > //Joe
    >
    >
    >

    Ray at 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