Author |
Topic  |
|
sfax
Starting Member
2 Posts |
Posted - 05 May 2001 : 19:45:15
|
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
|
it should read like this
if rsForum("F_TYPE")="1" then Response.Write(" colspan=""4""")
|
 |
|
e3stone
Average Member
  
USA
885 Posts |
Posted - 05 May 2001 : 21:15:51
|
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 |
 |
|
Doug G
Support Moderator
    
USA
6493 Posts |
Posted - 05 May 2001 : 22:32:54
|
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 ====== |
 |
|
sfax
Starting Member
2 Posts |
Posted - 06 May 2001 : 05:38:36
|
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.
|
 |
|
Doug G
Support Moderator
    
USA
6493 Posts |
Posted - 06 May 2001 : 11:10:54
|
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 ====== |
 |
|
|
Topic  |
|