Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft VBScript compilation error '800a03f9'

Status
Not open for further replies.

JohnPham

Programmer
Jul 9, 2001
34
US
Hi All,

I have error when run this vbscript in window server 2003. Does anyone know why?

Microsoft VBScript compilation error '800a03f9'

Expected 'Then'

/testing/query.asp, line 19

if CiMatchedRecordCount eq 0


Thank you,
John
 
if CiMatchedRecordCount = 0 then
'do something
else
'do some otherthing
end if

-DNG
 
Thank DNG,

However, I think this is the old style of vbscript or old compiler. I try to migrate the application from window 2000 server to window 2003 server. There a lot script in VB script using like below:

<%if CiMatchedRecordCount eq 0%>
do somthing
<%endif%>

We don't have any problem with window 2000 server with above script.

John
 
I'm surprised that it works in a 2000 environment as you've described it, but in this case, I believe that DNG is correct. Have you tried his suggestion to see if it works or not?

------------------------------------------------------------------------------------------------------------------------
"Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."
- Winston Churchill
 
Looks like you have either perl or python installed on the server where the script works. You haven't got it instaled on the server where the script doesn't work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top