473,498 Members | 2,021 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

emergency error '80040e14'

i get error '80040e14' from this codes..

sqlbul="select * from buyers where sesid="&session.SessionID

set rsbul=baglantim.execute(sqlbul)

if rsbul.eof then

response.redirect "index.asp"

end if

toplam=rsbul("toplam")

i tried like this

sqlbul="select toplam from buyers where sesid="&clng(session.SessionID)
response.write sqlbul
response.end
set rsbul=baglantim.execute(sqlbul)

it returns

select toplam from buyers where sesid=477419109

i run it in query analyser it works well..

how can i get rid of this message
Aug 24 '05 #1
4 2418
check CommandType for baglantim

sesid is integer or char?
--


"in da club" wrote:
i get error '80040e14' from this codes..

sqlbul="select * from buyers where sesid="&session.SessionID

set rsbul=baglantim.execute(sqlbul)

if rsbul.eof then

response.redirect "index.asp"

end if

toplam=rsbul("toplam")

i tried like this

sqlbul="select toplam from buyers where sesid="&clng(session.SessionID)
response.write sqlbul
response.end
set rsbul=baglantim.execute(sqlbul)

it returns

select toplam from buyers where sesid=477419109

i run it in query analyser it works well..

how can i get rid of this message

Aug 24 '05 #2
Ken Schaefer has an article about troubleshooting 80040e14 errors at
http://www.adopenstatic.com/faq/80040e14.asp

--
Roji. P. Thomas
Net Asset Management
http://toponewithties.blogspot.com
"in da club" <sa***@indexinteractive.com> wrote in message
news:un**************@TK2MSFTNGP14.phx.gbl...
i get error '80040e14' from this codes..

sqlbul="select * from buyers where sesid="&session.SessionID

set rsbul=baglantim.execute(sqlbul)

if rsbul.eof then

response.redirect "index.asp"

end if

toplam=rsbul("toplam")

i tried like this

sqlbul="select toplam from buyers where sesid="&clng(session.SessionID)
response.write sqlbul
response.end
set rsbul=baglantim.execute(sqlbul)

it returns

select toplam from buyers where sesid=477419109

i run it in query analyser it works well..

how can i get rid of this message

Aug 24 '05 #3
On Tue, 23 Aug 2005 21:52:42 -0700, "in da club"
<sa***@indexinteractive.com> wrote:
i get error '80040e14' from this codes..

sqlbul="select * from buyers where sesid="&session.SessionID


Error 80040e14 can have half a thousand reasons, wasn't there a more
detailed description in the error message?

See http://www.aspfaq.com/show.asp?id=2400
It sometimes indicates something is wrong with delimiters ([] around table
or column names, '' around strings).
It can also be related to incorrect datatypes (for example searching for a
text string in a numeric column).
Are you using column-level permissions on the table? Then that could be
why it works with "select toplam " but fails with "select * ".
Is 'sesid' a character (char, varchar, ...) field?
I suppose not, but if it is you should quote the value.

sqlbul = "select * from buyers where sesid='" & session.SessionID & "'"

I use a short function for this at the start of some of my ASP files:

Function Quote(s)
Quote = "'" & Replace(s, "'", "''") & "'"
End Function

and all my queries that involve character fields look like this:

sqlbul = "select * from buyers where sesid=" & Quote(session.SessionID)

This can avoid unexpected results (strange errors or SQL injection if
someone fabricates a request manually).
Aug 24 '05 #4
And here's a related link:

http://www.aspfaq.com/search.asp?q=80040e14

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Developersdex http://www.developersdex.com ***
Aug 25 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
13709
by: Albert | last post by:
Hi guys, it's nice to join the forum. Can someone can help me? After 2 years of using a program, i suddenly got this error. I tried re-installing SQL but im still getting the message. ...
1
2921
by: Jon LaRosa | last post by:
Hi all - I have a web application and I want to be able to do some basic error handling. For example, here is one error I would like to catch and display in a useful way for the user: ...
9
2406
by: Luc Dal | last post by:
Hello, I've serious problem using ASP under WindowsXP sp2. I get the following reply (sorry it's in french) Erreur de compilation Microsoft VBScript error '800a0401' Fin d'instruction...
1
6846
by: Alan Murrell | last post by:
Hello, One of our web hosting clients is getting the following error when someone tried to log in form their login page: --- ODBC ERROR --- Microsoft OLE DB Provider for ODBC Drivers error...
1
3786
by: chug | last post by:
I'm not a programmer but it's my job to solve this. Can someone help me with this error message? Microsoft OLE DB Provider for ODBC Drivers error '80040e14' Syntax error (missing operator)...
1
2167
by: FayeC | last post by:
I am getting the following error: Microsoft JET Database Engine error '80040e14' Syntax error (missing operator) in query expression ''FayeC' user_email='whatever@none.com' user_compname='none'...
4
12520
by: neutralm | last post by:
Hi, I am getting the following error: OLE error code:80040E14 in Microsoft OLE DB Provider for SQL Server Column 'tags.id' is invalid in the select list because it is not contained in either...
1
1725
by: rwilki02 | last post by:
All, We are using a process that updates tables in SQL Server 2000. The process gives the following error but the table is updated even though there is an error. My question is why are the...
9
3991
by: kazper | last post by:
Good day, I'm currently trying to print the data in my database using Visual Basic but I have a little problem with the codes, need your help about figuring out what I might be missing. I keep on...
0
7197
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6881
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4899
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4584
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.