Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 ERROR ** Microsoft VBScript...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

sfax
Starting Member

2 Posts

Posted - 05 May 2001 :  19:45:15  Show Profile
I got this error msg...pla help me to figure it out, i don't understand!
Microsoft VBScript compilation error '800a03ee'

Expected ')'

/forum/default.asp, line 272

if rsForum("F_TYPE")="1" then Response.Write(" colspan="4")"


Forum is working fine...except if i try to reach default.asp page.
Active.asp worx, admin funcs work...everything worx BUT default.asp.
Reason?

ThX
(running on not NT server with access2k DB in dsn-less connection)
THXTHXTHX

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 05 May 2001 :  19:47:58  Show Profile  Visit HuwR's Homepage
it should read like this

if rsForum("F_TYPE")="1" then Response.Write(" colspan=""4""")







Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 05 May 2001 :  21:15:51  Show Profile  Send e3stone an AOL message
Huw, I've seen different uses of "
Some books I've read say to use a single quote inside double quotes. for example, on the above statement it would read
...then response.write(" colspan='4'")

is there any diffence in using the single quote versus the double? advantages/disadvantages ?

<-- Eric -->


http://insidewaco.com/forum/home.asp
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 05 May 2001 :  22:32:54  Show Profile
quote:
if rsForum("F_TYPE")="1" then Response.Write(" colspan="4")"

To me it reads "I used Frontpage to edit files, or InterDev, or I renamed files or folders after I uploaded to my Frontpage-Server-Extensioned Web server"

HuwR's syntax is correct. You should not rely on a single quote and a double quote having the same characteristics. In one language I use, single quotes do nothing. In Perl & other languages, there are differences in the way the program interprets strings enclosed in single & double quotes.


======
Doug G
======
Go to Top of Page

sfax
Starting Member

2 Posts

Posted - 06 May 2001 :  05:38:36  Show Profile
thx for answering...but there's something weird.
I did NOT edit any files except the conn. string one.
from microsoft kb: it's a server problem and needs a sp.
My forum has been working for 2 weeks...then: boom.
No editing, no anything.
Active Topics worx, default.asp not.

Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 06 May 2001 :  11:10:54  Show Profile
Well, all I can say is that the particular line you quoted gets mangled by FP Server extensions so somehow you got the file(s) altered. Try re-uploading the asp page(s) from a clean copy.


======
Doug G
======
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07