473,224 Members | 1,644 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,224 software developers and data experts.

clueless about error 80040108

suddenly get this error:
error '80040108'

/geta.asp, line 23

which is : ObjMail.Body = "Instructions" & vbtab & instructions & vbcrlf&_

and while I'm at it, why did the 'yourname' and the 'creditcard' fields return
blank values, (when there was no error, that is).
this is the code:

<%
Dim
instructions,track,bladder,yourname,address,city,s tate,zip,country,phone,creditc
ard,expdate,email
instructions = Request.Form("instructions")
track = Request.Form("track")
bladder = Request.Form("bladder")
yourname = Request.Form("yourname")
address = Request.Form("address")
city = Request.Form("city")
state = Request.Form("state")
zip = Request.Form("zip")
country = Request.Form("country")
phone = Request.Form("phone")
creditcard = Request.Form("creditcard")
expdate = Request.Form("expdate")
email = Request.Form("email")
Dim kits
kits = Request.Form("kits")
Dim ObjMail
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
ObjMail.To = "hw*****@cox.net"
ObjMail.From = "in**@dinghydogs.com"
ObjMail.Subject = "Dinghy Dogs order"
ObjMail.Body = "Instructions" & vbtab & instructions & vbcrlf&_
"Track" & vbtab & track & vbcrlf&_
"Bladder" & vbtab & bladder & vbcrlf&_
"Name" & vbtab & yourname & vbcrlf&_
"Address" & vbtab & address & vbcrlf&_
"City" & vbtab & city & vbcrlf&_
"State" & vbtab & state & vbcrlf&_
"Zip" & vbtab & zip & vbcrlf&_
"Country" & vbtab & country & vbcrlf&_
"Phone" & vbtab & phone & vbcrlf&_
"Card#" & vbtab & credit & vbcrlf&_
"Exp.Date" & vbtab & expdate & vbcrlf&_
"Email" & vbtab & email & vbcrlf&_
"Ordered" & vbtab & kits & vbcrlf&_
ObjMail.Send
Set ObjMail = Nothing
Response.Write"Thank You For Your Order"

--
Harvey Waxman DMD
73 Wright Lane
Wickford, RI 02852
Remove thefrown to email me
Jul 19 '05 #1
10 3111
See here: http://www.aspfaq.com/show.asp?id=2386

Also, unless you're on an NT 4 server, you should switch to CDO. CDONTS has
been retired. http://www.aspfaq.com/show.asp?id=2026

Ray at work
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
suddenly get this error:
error '80040108'

/geta.asp, line 23

which is : ObjMail.Body = "Instructions" & vbtab & instructions & vbcrlf&_
and while I'm at it, why did the 'yourname' and the 'creditcard' fields return blank values, (when there was no error, that is). Set ObjMail = Server.CreateObject("CDONTS.NewMail")

Jul 19 '05 #2
In article <uU*************@TK2MSFTNGP10.phx.gbl>,
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote:
See here: http://www.aspfaq.com/show.asp?id=2386

Also, unless you're on an NT 4 server, you should switch to CDO. CDONTS has
been retired. http://www.aspfaq.com/show.asp?id=2026

Ray at work


Thank you very much. Now if I can only figure out what to do and how to do it
:-)
--
Harvey Waxman DMD
73 Wright Lane
Wickford, RI 02852
Remove thefrown to email me
Jul 19 '05 #3
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
suddenly get this error:
error '80040108'

/geta.asp, line 23

which is : ObjMail.Body = "Instructions" & vbtab & instructions & vbcrlf&_
"Email" & vbtab & email & vbcrlf&_
"Ordered" & vbtab & kits & vbcrlf&_
ObjMail.Send


look at :

"Ordered" & vbtab & kits & vbcrlf&_
--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #4
In article <hw***************************@msnews.microsoft.co m>,
Harvey Waxman <hw*****@thefrowncox.net> wrote:
Also, unless you're on an NT 4 server, you should switch to CDO. CDONTS
has
been retired. http://www.aspfaq.com/show.asp?id=2026

Ray at work


Thank you very much. Now if I can only figure out what to do and how to do
it
:-)


Ray,

As I said, I know nothing about ASP. I just modified a script I found. What I
see in your references are tutorials that assume I know far more than I do.

Is there any resource where I can find a simple script to email a basic form on
my web page with CDO instead of CDONTS?


--
Harvey Waxman DMD
73 Wright Lane
Wickford, RI 02852
Remove thefrown to email me
Jul 19 '05 #5

"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...

As I said, I know nothing about ASP. I just modified a script I found. What I see in your references are tutorials that assume I know far more than I do.
Is there any resource where I can find a simple script to email a basic form on my web page with CDO instead of CDONTS?


Did you read the second link? http://www.aspfaq.com/show.asp?id=2026

Ray at work
Jul 19 '05 #6
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
look at :

"Ordered" & vbtab & kits & vbcrlf&_


That line doesn't return an error. It also looks exactly the same to me as the
line that does return the error.

"Instructions" & vbtab & instructions & vbcrlf&_

what do you mean?
--
Harvey Waxman DMD
73 Wright Lane
Wickford, RI 02852
Remove thefrown to email me
Jul 19 '05 #7
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
look at :

"Ordered" & vbtab & kits & vbcrlf&_
That line doesn't return an error. It also looks exactly the same to me

as the line that does return the error.

"Instructions" & vbtab & instructions & vbcrlf&_

what do you mean?


The "&_" at the end of the line means you want to concatenate it with the
next line, which I think is the ".Send" one. That's not what you want to
happen, is it?

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #8
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
look at :

"Ordered" & vbtab & kits & vbcrlf&_


That line doesn't return an error. It also looks exactly the same to me

as the
line that does return the error.

"Instructions" & vbtab & instructions & vbcrlf&_

what do you mean?


The "&_" at the end of the line means you want to concatenate it with the
next line, which I think is the ".Send" one. That's not what you want to
happen, is it?


The line beginning with "instructions" is the first line of a series of fields
to be returned.

This is the code:

<%
Dim
instructions,track,bladder,yourname,address,city,s tate,zip,country,phone,creditc
ard,expdate,email
instructions = Request.Form("instructions")
track = Request.Form("track")
bladder = Request.Form("bladder")
yourname = Request.Form("yourname")
address = Request.Form("address")
city = Request.Form("city")
state = Request.Form("state")
zip = Request.Form("zip")
country = Request.Form("country")
phone = Request.Form("phone")
creditcard = Request.Form("creditcard")
expdate = Request.Form("expdate")
email = Request.Form("email")
Dim kits
kits = Request.Form("kits")
Dim ObjMail
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
ObjMail.To = "hw*****@cox.net"
ObjMail.From = "in**@dinghydogs.com"
ObjMail.Subject = "Dinghy Dogs order"
ObjMail.Body = "Instructions" & vbtab & instructions & vbcrlf&_
"Track" & vbtab & track & vbcrlf&_
"Bladder" & vbtab & bladder & vbcrlf&_
"Name" & vbtab & yourname & vbcrlf&_
"Address" & vbtab & address & vbcrlf&_
"City" & vbtab & city & vbcrlf&_
"State" & vbtab & state & vbcrlf&_
"Zip" & vbtab & zip & vbcrlf&_
"Country" & vbtab & country & vbcrlf&_
"Phone" & vbtab & phone & vbcrlf&_
"Card#" & vbtab & credit & vbcrlf&_
"Exp.Date" & vbtab & expdate & vbcrlf&_
"Email" & vbtab & email & vbcrlf&_
"Ordered" & vbtab & kits & vbcrlf&
ObjMail.Send
Set ObjMail = Nothing
Response.Write"Thank You For Your Order"
%>


--
Harvey Waxman DMD
73 Wright Lane
Wickford, RI 02852
Remove thefrown to email me
Jul 19 '05 #9
In article <hw***************************@msnews.microsoft.co m>,
Harvey Waxman <hw*****@thefrowncox.net> wrote:
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:

> look at :
>
> "Ordered" & vbtab & kits & vbcrlf&_


It was the " & vbcrlf&_" that needed to be removed from this line. I
misunderstood what people were telling me.

thanks all

<%
Dim instructions,track,bladder,yourname,address,city,s tate,zip,country,phone,creditcard,expdate,email
instructions = Request.Form("instructions")
track = Request.Form("track")
bladder = Request.Form("bladder")
yourname = Request.Form("yourname")
address = Request.Form("address")
city = Request.Form("city")
state = Request.Form("state")
snip
"Country" & vbtab & country & vbcrlf&_
"Phone" & vbtab & phone & vbcrlf&_
"Card#" & vbtab & credit & vbcrlf&_
"Exp.Date" & vbtab & expdate & vbcrlf&_
"Email" & vbtab & email & vbcrlf&_
"Ordered" & vbtab & kits & vbcrlf&
ObjMail.Send
Set ObjMail = Nothing
Response.Write"Thank You For Your Order"
%>

Jul 19 '05 #10
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
In article <hw***************************@msnews.microsoft.co m>,
Harvey Waxman <hw*****@thefrowncox.net> wrote:
In article <c1**********@kcweb01.netnews.att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
"Harvey Waxman" <hw*****@thefrowncox.net> wrote in message
news:hw***************************@msnews.microsof t.com...
> In article <c1**********@kcweb01.netnews.att.com>,
> "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
>
> > look at :
> >
> > "Ordered" & vbtab & kits & vbcrlf&_
>

It was the " & vbcrlf&_" that needed to be removed from this line. I
misunderstood what people were telling me.


Yup!
Jul 19 '05 #11

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

Similar topics

2
by: les | last post by:
I am working on a homework assignment and trying to use cPickle to store the answers from questor.py I believe I have the syntax correct but am not sure if I am placing everything where it needs to...
2
by: Brian | last post by:
Taking cluelessness to a whole new level. < http://support.apollohosting.com/ > The beginning of the html is below. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> ...
4
by: | last post by:
Ok... well... I'm a noob as far as templates go, and casting and such... never bothered to learn much about this stuff... but now I've got a good reason to care, so i'm just wondering what's going...
5
by: thatseattleguy | last post by:
I'm stumped. Visit: http://positivesweat.com/class.html ....and look at the tables in the middle labeled "morning" and "evening". Do this in both IE and Firefox. The tables appear to me to...
7
by: Ottar | last post by:
I've made a program sorting incomming mail in public folder. The function runs every minute by using the form.timer event. In Access XP it runs for weeks, no problem. Access 2003 runs the same...
4
by: Ottar | last post by:
Error: 80040108 after 380 CreateObject("MAPI.Session") Function MAPI_Test2() Dim i As Integer Dim MySession As MAPI.Session i = 0 While (i < 2000) Set MySession =...
2
Dunja
by: Dunja | last post by:
All I want to do is create a command button to navigate through records on my form page. I created a kick ass form...but I do not like the navigating records thing on the bottom it automatically...
2
Dormilich
by: Dormilich | last post by:
Hi, currently I'm stuck on finding the error of one of my functions. I try to read data out of MySQL using PDO. the SQL string is loaded as Prepared Statement (PDO->prepare()) and shall be...
3
by: eggman89 | last post by:
Hi I'm doing my Fourth Year B.E. project under the internship of MindTree! Now they have only told us what to do , but haven't guide much! Now, we have been told to develop an search...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.