473,403 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Error in ASP 0x80040E0C

Hello to all, I have the following code that consults a data base SQL
server:
SET CONN = Server.CreateObject("ADODB.Connection")
CONN.Open application("StrConApp")
Set R = conn.Execute("select * from usuarios order by cargo")
strSQLs = "select
Venta,Margen,Abrasion,Steel,AcEsp,KAB,SIndustrial, Cables,FerroL,Emsesa,VtaEstrategiaUS,Recomendacion _sacateun7,VtaCtesDllo,CtesNuevos,VtaPref,NPref,PC T,NServicio
from dbo.Metas where RUT='"&rtrim(R("rut"))&"'"
response.Write(strSQLs)
'response.End()
set T = conn.execute(strSQL)

and it throws the following error to me:
Tipo de error:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E0C)
Any text of commando for the commando object did not settle down.

Any aid would be pleasant.
Thanks
Sep 6 '05 #1
2 2494
Lakrom wrote:
Hello to all, I have the following code that consults a data base SQL
server:


Please do not multipost Lakrom. This is definitely a database-related
question
so .asp.db was the perfect group in which to post it. Posting it here as
well did not increase your chances of getting an answer (most of us
subscribe to both groups). On the contrary, if somebody had taken his time
to answer it here, only to find that it was already resolved in the other
group, that person may have been annoyed enough to ignore any future posts
from you, thereby decreasing your chances of getting help in the future.

There are times when you will not be sure which group is most appropriate,
and you will want to post a question to both groups. In that situation, you
should use the cross-posting technique, rather than posting the same message
multiple times. To crosspost, put a semicolon-delimited* list of the
newsgroups to which you wish to post in the To: header of your post and post
it once. It, and any replies to it, will appear in all the newsgroups in
your list. So, if I reply in .asp.db, my reply will also appear here in
..asp.general.

* ... or whatever delimiter is recognized by your news client
--
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.
Sep 6 '05 #2
Ya lo resolvi.

"Lakrom" <la****@terra.cl> escribió en el mensaje
news:Ug****************@jagger.tie.cl...
Hello to all, I have the following code that consults a data base SQL
server:
SET CONN = Server.CreateObject("ADODB.Connection")
CONN.Open application("StrConApp")
Set R = conn.Execute("select * from usuarios order by cargo")
strSQLs = "select
Venta,Margen,Abrasion,Steel,AcEsp,KAB,SIndustrial, Cables,FerroL,Emsesa,VtaEstrategiaUS,Recomendacion _sacateun7,VtaCtesDllo,CtesNuevos,VtaPref,NPref,PC T,NServicio
from dbo.Metas where RUT='"&rtrim(R("rut"))&"'"
response.Write(strSQLs)
'response.End()
set T = conn.execute(strSQL)

and it throws the following error to me:
Tipo de error:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E0C)
Any text of commando for the commando object did not settle down.

Any aid would be pleasant.
Thanks

Sep 6 '05 #3

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

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
2
by: Jack | last post by:
Hi, I am getting the above error in an asp page. Not sure why? The error details is given below. I appreciate any insight to the problem. Thanks. The code is attached here. Line 24 is the...
1
by: Aravind | last post by:
we have two files: 1. rc4.c (defines one function "create_pin()") 2. MyImpl.c(calling the function "create_pin()"),This implements JNI method. 1.When I am trying to create .dll file with one...
1
by: yanwan | last post by:
I met this problem in executing a c++ project in visual studio. Does anyone have suggestions to resolve "error lnk 2001"? --------------------Configuration: reconstruction - Win32...
13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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...

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.