473,657 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

clueless about error 80040108

suddenly get this error:
error '80040108'

/geta.asp, line 23

which is : ObjMail.Body = "Instructio ns" & 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,tr ack,bladder,you rname,address,c ity,state,zip,c ountry,phone,cr editc
ard,expdate,ema il
instructions = Request.Form("i nstructions")
track = Request.Form("t rack")
bladder = Request.Form("b ladder")
yourname = Request.Form("y ourname")
address = Request.Form("a ddress")
city = Request.Form("c ity")
state = Request.Form("s tate")
zip = Request.Form("z ip")
country = Request.Form("c ountry")
phone = Request.Form("p hone")
creditcard = Request.Form("c reditcard")
expdate = Request.Form("e xpdate")
email = Request.Form("e mail")
Dim kits
kits = Request.Form("k its")
Dim ObjMail
Set ObjMail = Server.CreateOb ject("CDONTS.Ne wMail")
ObjMail.To = "hw*****@cox.ne t"
ObjMail.From = "in**@dinghydog s.com"
ObjMail.Subject = "Dinghy Dogs order"
ObjMail.Body = "Instructio ns" & 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 3132
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*****@thefro wncox.net> wrote in message
news:hw******** *************** ****@msnews.mic rosoft.com...
suddenly get this error:
error '80040108'

/geta.asp, line 23

which is : ObjMail.Body = "Instructio ns" & 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.CreateOb ject("CDONTS.Ne wMail")

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*****@thefro wncox.net> wrote in message
news:hw******** *************** ****@msnews.mic rosoft.com...
suddenly get this error:
error '80040108'

/geta.asp, line 23

which is : ObjMail.Body = "Instructio ns" & 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.microso ft.com>,
Harvey Waxman <hw*****@thefro wncox.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*****@thefro wncox.net> wrote in message
news:hw******** *************** ****@msnews.mic rosoft.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**********@k cweb01.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.

"Instructio ns" & 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*****@thefro wncox.net> wrote in message
news:hw******** *************** ****@msnews.mic rosoft.com...
In article <c1**********@k cweb01.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.

"Instructio ns" & 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**********@k cweb01.netnews. att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
"Harvey Waxman" <hw*****@thefro wncox.net> wrote in message
news:hw******** *************** ****@msnews.mic rosoft.com...
In article <c1**********@k cweb01.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.

"Instructio ns" & 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 "instructio ns" is the first line of a series of fields
to be returned.

This is the code:

<%
Dim
instructions,tr ack,bladder,you rname,address,c ity,state,zip,c ountry,phone,cr editc
ard,expdate,ema il
instructions = Request.Form("i nstructions")
track = Request.Form("t rack")
bladder = Request.Form("b ladder")
yourname = Request.Form("y ourname")
address = Request.Form("a ddress")
city = Request.Form("c ity")
state = Request.Form("s tate")
zip = Request.Form("z ip")
country = Request.Form("c ountry")
phone = Request.Form("p hone")
creditcard = Request.Form("c reditcard")
expdate = Request.Form("e xpdate")
email = Request.Form("e mail")
Dim kits
kits = Request.Form("k its")
Dim ObjMail
Set ObjMail = Server.CreateOb ject("CDONTS.Ne wMail")
ObjMail.To = "hw*****@cox.ne t"
ObjMail.From = "in**@dinghydog s.com"
ObjMail.Subject = "Dinghy Dogs order"
ObjMail.Body = "Instructio ns" & 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.microso ft.com>,
Harvey Waxman <hw*****@thefro wncox.net> wrote:
In article <c1**********@k cweb01.netnews. att.com>,
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote:
"Harvey Waxman" <hw*****@thefro wncox.net> wrote in message
news:hw******** *************** ****@msnews.mic rosoft.com...
In article <c1**********@k cweb01.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,tr ack,bladder,you rname,address,c ity,state,zip,c ountry,phone,cr editcard,expdat e,email
instructions = Request.Form("i nstructions")
track = Request.Form("t rack")
bladder = Request.Form("b ladder")
yourname = Request.Form("y ourname")
address = Request.Form("a ddress")
city = Request.Form("c ity")
state = Request.Form("s tate")
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

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

Similar topics

2
2584
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 be. Any help would be greatly appreciated. When I attempt to run what I have I end up with the following: Traceback (most recent call last): File "/home/les/workspace/Module 2/questor.py", line 18, in ? f = file(questorlistfile) NameError:...
2
1830
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> <head>
4
1346
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 on in this code. I'm assuming that T is *always* going to be some number (bool, INT16, int, INT32, etc...) but no reason this shouldn't work on chars' and such... (... *giggle* or pointers... could... work... on... pointers... don't make your...
5
2524
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 be defined identically (to take up 100% of the width of the parent table), and indeed IE makes them the same width, as I wanted and expected. But in Firefox (latest), the "evening"
7
4192
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 code for 6 hours and stops. I've found the problem to be the Set MySession = CreateObject("MAPI.Session")
4
5033
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 = CreateObject("MAPI.Session") Debug.Print i
2
1260
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 creates. So I deleted it. I used the wizard to create the command button. I see the button but it doesn't work. Something about the expression...this is what I get: If Frame9.Value = 1 Then me.filter= Private Sub cmdPreview_Click() Dim...
2
1298
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 executed using PDOStatement->execute(). I already know: - there's no PDOException thrown - there's no Error message - the execute method returns false - the parameters are correctly passed (- all fields exist in the DB, they are either string types...
3
1787
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 application similar to Google Desktop one, only lighter version of it! This is how it should work: For all the Office 07 formats (docx,pptx....) which are XML based,rather than Binary based, the user should enter any search term(s) and our Prog should...
0
8392
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...
1
8503
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
8605
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7324
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6163
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
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
4151
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
4302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1611
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.