Subject: VBScript runtime error '800a01a8' - FIXED
Posted By: buddyz Post Date: 9/11/2006 10:13:39 AM
Hello,

Keep getting the VBScript runtime error '800a01a8' on an .asp page, and it also says:

Object required: "

and the line number. I just do not know where they want the quotes to go. Do you?

Here is the line of coding referenced in the error message as it currently stands:

WEBsiteNAME <%=(rs.Fields.Item("date").Value)%>&nbsp;<%=(rs.Fields.Item("title").Value)%> Page

Thank you in advance for any info you can provide.



Reply By: dparsons Reply Date: 9/11/2006 2:21:12 PM
While this shouldnt make a difference, remove the outside ( ) and you can also try changing rs.fields.item to rs("date") and rs("title")

"The one language all programmers understand is profanity."
Reply By: buddyz Reply Date: 9/13/2006 10:55:59 AM
Well, the problem has been solved - totally unrelated to the above. Apparently whoever created the sql database connected to this particular website entered in incorrect URLs - consistently, which made it easy for me to update and correct them so this page is working now.

However, I will go over now to the SQL forum and ask how to do a global search and replace in a SQL database so hopefully I can run some script somewhere to automate this correction for me. Otherwise, I will need to go in and check all fields of each record to ensure the links are correct.

Thank you for your response!

Go to topic 49688

Return to index page 176
Return to index page 175
Return to index page 174
Return to index page 173
Return to index page 172
Return to index page 171
Return to index page 170
Return to index page 169
Return to index page 168
Return to index page 167