800a0cc1 on ASP mailto

E

EricKei

I am using Microsoft MDE 6/ J++6 to work on a webpage which takes information
a prospective customer has submitted to an ASP6/javascript webpage via a
"send us your info and we'll contact you" type form. The form used to work
just fine, but we recently changed webhosts and it stopped working for no
apparent reason.

The data goes to an Access 2003 database and then used to fill in the email
which gets sent to our client (the owners of the website). the main page is
default.asp, and top.asp (the page with the error) is incorporated via an
#include.

We get the following error:

ADODB.Recordset error '800a0cc1'

Item cannot be found in the collection corresponding to the requested name
or ordinal.

/top.asp, line 162

I figured it might be a query error of some kind, but then I looked at the
code in question; here's an excerpt:

159 sTo = "david@(sitename)"
158 sSubject = "New Comment Submission from (sitename removed)"
159
160 objMail.IsHTML = True
161
162 sBody ="<table width=""100%"" class=""plainFont"">" & vbCrLf _
163 & "<tr>" & vbCrLf _
164 & "<td valign=""top"">" & vbCrLf _

However, looking at the Source directly from the website returns the
following block as the "line 162" section:

function isEmailAddr(email)
{
var result = false
var theStr = new String(email)
var index = theStr.indexOf("@");
if (index > 0)
{
162 var pindex = theStr.indexOf(".",index);
if ((pindex > index+1) && (theStr.length > pindex+1))
result = true;
}
return result;
}



(none of these have line numbers written on them in the actual code)

Can anyone help?

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top