473,614 Members | 2,352 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.redire ct "index.asp"

end if

toplam=rsbul("t oplam")

i tried like this

sqlbul="select toplam from buyers where sesid="&clng(se ssion.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 2424
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.redire ct "index.asp"

end if

toplam=rsbul("t oplam")

i tried like this

sqlbul="select toplam from buyers where sesid="&clng(se ssion.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***@indexint eractive.com> wrote in message
news:un******** ******@TK2MSFTN GP14.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.redire ct "index.asp"

end if

toplam=rsbul("t oplam")

i tried like this

sqlbul="select toplam from buyers where sesid="&clng(se ssion.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***@indexint eractive.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.Session ID & "'"

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.S essionID)

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
13733
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. Microsoft OLE DB Provider for ODBC Drivers error '80040e14' Cannot load the DLL xplog70.dll, or one of the DLLs it references. Reason: 193(error not found).
1
2940
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: ----------------- Microsoft OLE DB Provider for ODBC Drivers error '80040e14' UPDATE statement
9
2428
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 attendue /iisHelp/common/500-100.asp, line 11
1
6859
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 '80040e14' Syntax error (missing operator) in query expression 'userid= AND password='''.
1
3794
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) in query expression 'auctionid ='. /Mediator/AgentSetup.asp, line 71
1
2170
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' user_newsletter=1user_dnumber='12345678''. /asp/manageusers.asp, line 122 And I can't find the origin of the error. Here is what I have for pulling the list of users from the db:
4
12544
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 an aggregate function or the GROUP BY clause. when trying to execute the following query:
1
1735
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 tables still updated? The process does not retry the update. Does anyone know if this is a bug? The process is tries to commit 2 update statements. Thanks, *** Scripting Step Begin: 06/20/2007 15:02:16 4 0 O Global ...
9
4006
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 getting the same error Run-time error '-2147217900 (80040e14)' Dim adoHistoryPrint As New ADODB.Connection Dim recHistoryPrint As New ADODB.Recordset Dim cmdHistoryPrint As New ADODB.Command
0
8198
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8142
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8294
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5549
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4058
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4138
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2575
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 we have to send another system
1
1758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1438
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.