close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Microsoft JScript runtime error '800a138f'

Thread began 10/11/2009 5:03 am by chris172668 | Last modified 10/13/2009 8:51 am by Ray Borduin | 7401 views | 4 replies |

chris172668

Microsoft JScript runtime error '800a138f'

After I send my form (via GoDaddy), I get this error, no matter whether I fill in any 'BCC', 'CC' or other fields at setup or leave them blank:

Microsoft JScript runtime error '800a138f'
Object expected
/afcc7/onlineforms/testform.asp, line 23

The 'live' form is here:
testform.asp

My code is this:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<!--#include file="../WA_Universal_Email/CDOSYS_JS.asp" -->
<!--#include file="../WA_Universal_Email/MailFormatting_JS.asp" -->
<%
function WA_Universal_Email_1_SendMail(RecipientEmail) {
var MailAttachments = "";
var MailBCC = "";
var MailCC = "";
var MailTo = "";
var MailBodyFormat = "";
var MailBody = "";
var MailImportance = "";
var MailFrom = "" + String(String(Request.Form("Name"))) + "|WA|" + String(String(Request.Form("email"))) + "";
var MailSubject = "EAFCA 2010 Registration";

//Global Variables
gAddBCC = "";
gAddCC = "";
gAddRecipient = "";
gBodyFormat = "";
gSetImportance = "";

WA_MailObject = WAUE_Definition("relay-hosting.secureserver.net","25","","","","");

if (RecipientEmail) {
WA_MailObject = WAUE_AddRecipient(WA_MailObject,RecipientEmail);
}
else {
//To Entries
WA_MailObject = WAUE_AddRecipient(WA_MailObject,"christian@artkenya.net");
MailTo = gAddRecipient;
}

//Attachment Entries

//BCC Entries
WA_MailObject = WAUE_AddBCC(WA_MailObject,"david@artkenya.net");
MailBCC = gAddBCC;

//CC Entries
WA_MailObject = WAUE_AddCC(WA_MailObject,"david@artkenya.net");
MailCC = gAddCC;

//Body Format
WA_MailObject = WAUE_BodyFormat(WA_MailObject,0);
MailBodyFormat = gBodyFormat;

//Set Importance
WA_MailObject = WAUE_SetImportance(WA_MailObject,"3");
MailImportance = gSetImportance;

//Start Mail Body
MailBody = MailBody + "";
MailBody = MailBody + String(Request.Form("Name"));
MailBody = MailBody + "\r\n";
MailBody = MailBody + String(Request.Form("email"));
MailBody = MailBody + "\r\n";
MailBody = MailBody + String(Request.Form("Address"));
MailBody = MailBody + "";
//End Mail Body

WA_MailObject = WAUE_SendMail(WA_MailObject,MailAttachments,MailBCC,MailCC,MailTo,MailImportance,MailFrom,MailSubject,MailBody);

WA_MailObject = null;
}
%>
<%
if ((String(Request.Form("Submit")) != "undefined")) {
//WA Universal Email object="CDOSYS"
//Send Loop Once Per Entry

//Send Mail All Entries
WA_Universal_Email_1_SendMail();
if ("registration_confirmation.htm"!="") {
Response.Redirect("registration_confirmation.htm");
}
}
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Test Form 1</title>
</head>
<body>
<form action="" method="post" name="form" id="form" accept-charset="iso-8859-1">
<p> Email:<br>
<input name="email" type="text" id="email">
(this must be a proper email address) </p>
<p> Name<br>
<input name="Name" type="text" id="Name">
</p>
<p> Address<br>
<input name="Address" type="text" id="Address">
</p>
<p>
<input type="submit" name="Submit" value="Submit" >

</p>
</form>
</body>
</html>


Any assistance is appreciated.
Chris

Sign in to reply to this post

Office Guy-172461

I know this isn't a good answer but I've heard all kinds of issues with GoDaddy servers. I have no problem with their core registration business, but I've never had any luck with resolving other issues with their support. I spent a week trying to get them to understand that I couldn't go to my data center in another part of the country and send a test message directly from the "screen" to their email servers. They seemed completely unaware that web sites were able to send email automatically. Their servers were just discarding email without any notice to sender or receiver. My client finally just switched services.

See if this article helps:
GoDaddy Form Mail Woes
godaddy-form-mail-woes/

Sign in to reply to this post

chris172668

Thanks for that. Well, your reply was helpful in the sense that GoDaddy customer support may indeed be as 'thick' as I always thought they were... i'll have a look at your recommended resources.

Sign in to reply to this post

Office Guy-172461

I think that GoDaddy farms out other services. Never had a hick-up with their registration service, but never had success with any of their other offerings.

I'm not really making any recommendations. I've found that as soon as you recommend a hosting company, they either go belly-up or have an extended outage. :)

The link is just to an article I found.

Sign in to reply to this post

Ray BorduinWebAssist

The error implies that CDOSYS is not installed on that server.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...