473,408 Members | 2,734 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,408 software developers and data experts.

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("CDO.Configuration")

With cdoConfig.Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort ***** ERRORS ON
THIS LINE *****
.Item(cdoSMTPServer) = "CT00EXCIM01"
.Update
End With

dim conn, RS, strSQL, mycount

SCRIPT_NAME = Request.ServerVariables("SCRIPT_NAME")
Ticket = Request.QueryString("tn")

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

Set Conn = Server.CreateObject("ADODB.Connection")
DSNtest="Provider=Microsoft.Jet.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.TicketNumber = Resolutions.TicketNumber WHERE Problems.TicketNumber
= " & Ticket & " ORDER BY Resolutions.ActDate DESC;")

Jul 22 '05 #1
2 6025
It's cdoSendUsing not cdoSendUsingMethod

--
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**************@TK2MSFTNGP12.phx.gbl...
I am getting this error and I can't seem to figure it out.

<%

Set cdoConfig = CreateObject("CDO.Configuration")

With cdoConfig.Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort ***** ERRORS ON
THIS LINE *****
.Item(cdoSMTPServer) = "CT00EXCIM01"
.Update
End With

dim conn, RS, strSQL, mycount

SCRIPT_NAME = Request.ServerVariables("SCRIPT_NAME")
Ticket = Request.QueryString("tn")

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

Set Conn = Server.CreateObject("ADODB.Connection")
DSNtest="Provider=Microsoft.Jet.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.TicketNumber = Resolutions.TicketNumber WHERE Problems.TicketNumber
= " & Ticket & " ORDER BY Resolutions.ActDate DESC;")




Jul 22 '05 #2
cdoSendUsingMethod 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**************@tk2msftngp13.phx.gbl...
It's cdoSendUsing not cdoSendUsingMethod

--
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**************@TK2MSFTNGP12.phx.gbl...
I am getting this error and I can't seem to figure it out.

<%

Set cdoConfig = CreateObject("CDO.Configuration")

With cdoConfig.Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort ***** ERRORS ON
THIS LINE *****
.Item(cdoSMTPServer) = "CT00EXCIM01"
.Update
End With

dim conn, RS, strSQL, mycount

SCRIPT_NAME = Request.ServerVariables("SCRIPT_NAME")
Ticket = Request.QueryString("tn")

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

Set Conn = Server.CreateObject("ADODB.Connection")
DSNtest="Provider=Microsoft.Jet.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.TicketNumber = Resolutions.TicketNumber WHERE Problems.TicketNumber = " & Ticket & " ORDER BY Resolutions.ActDate DESC;")

Jul 22 '05 #3

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

Similar topics

1
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 =...
7
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...
15
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...
1
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)...
0
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...
1
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...
12
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...
1
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....
6
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...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.