473,545 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another ERROR

I am getting this error and I can't seem to figure it out.

<%

Set cdoConfig = CreateObject("C DO.Configuratio n")

With cdoConfig.Field s
.Item(cdoSendUs ingMethod) = cdoSendUsingPor t ***** ERRORS ON
THIS LINE *****
.Item(cdoSMTPSe rver) = "CT00EXCIM0 1"
.Update
End With

dim conn, RS, strSQL, mycount

SCRIPT_NAME = Request.ServerV ariables("SCRIP T_NAME")
Ticket = Request.QuerySt ring("tn")

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

Set Conn = Server.CreateOb ject("ADODB.Con nection")
DSNtest="Provid er=Microsoft.Je t.OLEDB.4.0;" & "Data Source=" &
Server.MapPath( "/database/sa inventory.mdb")
Conn.Provider = "Microsoft.Jet. OLEDB.4.0"
Conn.Open DSNtest

conn.execute ("SELECT * FROM Problems LEFT JOIN Resolutions ON
Problems.Ticket Number = Resolutions.Tic ketNumber WHERE Problems.Ticket Number
= " & Ticket & " ORDER BY Resolutions.Act Date DESC;")

Jul 22 '05 #1
2 6027
It's cdoSendUsing not cdoSendUsingMet hod

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"SyrUser03" <sy*******@syr. edu> wrote in message news:uu******** ******@TK2MSFTN GP12.phx.gbl...
I am getting this error and I can't seem to figure it out.

<%

Set cdoConfig = CreateObject("C DO.Configuratio n")

With cdoConfig.Field s
.Item(cdoSendUs ingMethod) = cdoSendUsingPor t ***** ERRORS ON
THIS LINE *****
.Item(cdoSMTPSe rver) = "CT00EXCIM0 1"
.Update
End With

dim conn, RS, strSQL, mycount

SCRIPT_NAME = Request.ServerV ariables("SCRIP T_NAME")
Ticket = Request.QuerySt ring("tn")

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

Set Conn = Server.CreateOb ject("ADODB.Con nection")
DSNtest="Provid er=Microsoft.Je t.OLEDB.4.0;" & "Data Source=" &
Server.MapPath( "/database/sa inventory.mdb")
Conn.Provider = "Microsoft.Jet. OLEDB.4.0"
Conn.Open DSNtest

conn.execute ("SELECT * FROM Problems LEFT JOIN Resolutions ON
Problems.Ticket Number = Resolutions.Tic ketNumber WHERE Problems.Ticket Number
= " & Ticket & " ORDER BY Resolutions.Act Date DESC;")




Jul 22 '05 #2
cdoSendUsingMet hod works on all my other websites. I think I was missing
the METADATA file

<!--
METADATA
TYPE="typelib"
UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library"
-->

I added this code to my page and it moved on a little farther. Thanks for
your help.

"Steven Burn" <so*******@in-time.invalid> wrote in message
news:er******** ******@tk2msftn gp13.phx.gbl...
It's cdoSendUsing not cdoSendUsingMet hod

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"SyrUser03" <sy*******@syr. edu> wrote in message
news:uu******** ******@TK2MSFTN GP12.phx.gbl...
I am getting this error and I can't seem to figure it out.

<%

Set cdoConfig = CreateObject("C DO.Configuratio n")

With cdoConfig.Field s
.Item(cdoSendUs ingMethod) = cdoSendUsingPor t ***** ERRORS ON
THIS LINE *****
.Item(cdoSMTPSe rver) = "CT00EXCIM0 1"
.Update
End With

dim conn, RS, strSQL, mycount

SCRIPT_NAME = Request.ServerV ariables("SCRIP T_NAME")
Ticket = Request.QuerySt ring("tn")

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

Set Conn = Server.CreateOb ject("ADODB.Con nection")
DSNtest="Provid er=Microsoft.Je t.OLEDB.4.0;" & "Data Source=" &
Server.MapPath( "/database/sa inventory.mdb")
Conn.Provider = "Microsoft.Jet. OLEDB.4.0"
Conn.Open DSNtest

conn.execute ("SELECT * FROM Problems LEFT JOIN Resolutions ON
Problems.Ticket Number = Resolutions.Tic ketNumber WHERE Problems.Ticket Number = " & Ticket & " ORDER BY Resolutions.Act Date DESC;")

Jul 22 '05 #3

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

Similar topics

1
4630
by: J. Muenchbourg | last post by:
I'm getting an "Arguments are of the wrong type, out of acceptable range, in conflicts with each other " error , pointing to the sql statement in this block: Dim rstime Set rstime = Server.CreateObject("ADODB.Recordset") rstime.Open "SELECT * FROM TimestarResorts where resortname='" & request.querystring("resortname") & "' and roomsize='"...
7
50937
by: Tim Gaunt | last post by:
Hi, I'm hoping that someone will be able to help me with this one, I'm developing an application which basically inserts a load of data into the database ready for validation at a later date, I wrote an INSERT statement that works fine however today I decided that as part of the application upgrade it should be return the record ID so I...
15
7195
by: Erica | last post by:
I'm getting the following error: ADODB.Recordset error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /shop/results.asp, line 15 line 15 is the recordset open line. Can someone please help
1
2909
by: Jack | last post by:
Hi, I am trying to add a new record to a main page. This page is the processing page to a form. However, I am getting the following error message: Error Type: ADODB.Recordset (0x800A0BB9) Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /gwisnewcon/test/successconfirmation_ori.asp, line 41
0
2235
by: Edward | last post by:
I have a wrapper function for executing a SQL Server Stored Procedure that returns no records: Public Function modRunStoredProc(vstrSPName As String, ParamArray vvarParams() As Variant) As Variant On Error GoTo modRunOutputStoredProc_Err Dim cmd As Command Dim intIndex As Integer
1
3581
by: iam247 | last post by:
Hi I have a web page which receives information from a form (using request.form) and also attempts to look at an Access query to read in recoeds to a variable named rsGroup. When I have the following line commented, so it does not activate, I can successfully print all of the response.write's below: rsGroup.Open strSQL, adoCon
12
12319
by: anantraoneel | last post by:
Hi Friend My project is a Library System. In Project is Book Master form. If I've select Book Type from Type Master and Publication from Publication Master then this error has come: "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. " but if I've put amount manually and save the record then...
1
3527
by: thecubemonkey | last post by:
Hi everyone, I'm getting the following error: ADODB.Recordset error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /newsite/faq.asp, line 57 Can you look at the code below and let me know if the problem is my
6
1604
by: gforgourav | last post by:
'Arguments are of wrong type, are out of acceptable range, or are in conflict with one another' this error occurs ... i m using vb.net 2005 with sql server 2000 backend i had a project in vb 6.0 with MS access i hav converted it to vb.net 2005 and hav made all necessary changes in code now as the project was in vb 6.0 it has adodb recordset...
0
7405
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...
0
7659
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7811
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7760
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5334
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4949
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...
0
3455
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...
1
1887
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
1019
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.