473,405 Members | 2,344 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Microsoft VBScript compilation (0x800A0408) Invalid character

I'm no expert in asp and vbscript but not a total beginner. I've got some
VBScript in an asp page which is generating a forumla for use in Lotus Notes
replication.

The line that it is objecting to is
<% if user2 <> "" then response.write("| @IsMember(&quot;" & LCase(user2) &
"&quot;;@LowerCase(@Name([CN];AssignedTo)))") end if %>

i.e. if the string user2 is "Mike" I expect the HTML to be
| @IsMember(&quot;mike&quot;;@LowerCase(@Name([CN];AssignedTo)))

and the display in the browser to be
| @IsMember("mike";@LowerCase(@Name([CN];AssignedTo)))

The server responds
Error Type:
Microsoft VBScript compilation (0x800A0408)
Invalid character
/6500/notes_atform.asp, line 25, column 57
if user2 <> "" then response.write("| @IsMember(&quot;" & LCase(user2) &
"&quot;;@LowerCase(@Name([CN];AssignedTo)))") end if
--------------------------------------------------------^

i.e. it is the semicolon on the first &quot; that it doesn't like. Why not?
It is part of a string in quotes?

I thought getting rid of the &quot; by using ...IsMember(" & chr(34) &
LCase(... instead, but I now get the same error but at the ampersand before
the LCase().

I guess I'm missing somethign obvious. Please help!
Jul 22 '05 #1
1 7511
Don't know what was going on there but I retyped the line and it's ok now ?!

"aklsdjfh" <as******@sadfasdfasdf.asd> wrote in message
news:42**********************@ptn-nntp-reader02.plus.net...
I'm no expert in asp and vbscript but not a total beginner. I've got some
VBScript in an asp page which is generating a forumla for use in Lotus
Notes replication.

The line that it is objecting to is
<% if user2 <> "" then response.write("| @IsMember(&quot;" & LCase(user2)
& "&quot;;@LowerCase(@Name([CN];AssignedTo)))") end if %>

i.e. if the string user2 is "Mike" I expect the HTML to be
| @IsMember(&quot;mike&quot;;@LowerCase(@Name([CN];AssignedTo)))

and the display in the browser to be
| @IsMember("mike";@LowerCase(@Name([CN];AssignedTo)))

The server responds
Error Type:
Microsoft VBScript compilation (0x800A0408)
Invalid character
/6500/notes_atform.asp, line 25, column 57
if user2 <> "" then response.write("| @IsMember(&quot;" & LCase(user2) &
"&quot;;@LowerCase(@Name([CN];AssignedTo)))") end if
--------------------------------------------------------^

i.e. it is the semicolon on the first &quot; that it doesn't like. Why
not? It is part of a string in quotes?

I thought getting rid of the &quot; by using ...IsMember(" & chr(34) &
LCase(... instead, but I now get the same error but at the ampersand
before the LCase().

I guess I'm missing somethign obvious. Please help!

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Matthew Louden | last post by:
I have no idea what's wrong with the following ASP statement: Response.Write "<select name=\"id\">" MS VBScript Compilation error 800a0401 expected end of statement However, if I do the...
3
by: Matt | last post by:
When the ASP statement end with a _ character, then the next line cannot have comment ' character. Is that correct? Since I encountered the following error: Microsoft VBScript compilation...
3
by: Adam Short | last post by:
Can anyone help? I have all of a sudden started to receive this error on my site! I have no idea what script it is executing, why it is now failing, what is going on?? All I have been able...
6
by: Adam Short | last post by:
Can anyone help? I have all of a sudden started to receive this error on my site! I have no idea what script it is executing, why it is now failing, what is going on?? All I have been able...
10
by: Shadow Lynx | last post by:
That subject packs a whallop, so let me explain in better detail what's happening and how it relates to ASPX pages... In a nutshell, if the first <script /on a page is of type "text/vbscript",...
2
by: sonasiva | last post by:
{asp code} Error Type: Microsoft VBScript compilation (0x800A03EE) Expected ')' /web/company_ind.asp, line 35, column 37 Response.Write(objrs("investor_name")""<a...
5
by: char | last post by:
I can't figure out why I am getting error: Microsoft VBScript compilation '800a0400' SET MyRecordSet = SERVER.CREATEOBJECT("ADODB.RECORDSET") MySQL = "SELECT * FROM ShipSummary (NOLOCK) where...
0
AHMEDYO
by: AHMEDYO | last post by:
hi all, first its my first time to post question in internet, but vbs really let me crazy. my problem is : ---------------------- i wanna to transfer exe file to machine that i can access by...
2
by: kevinr | last post by:
Hi, I am brand new to VB, and I am trying to deploy Office 2007 on my network here at work. We used part of this script to do another deployment, and I have taken pieces and tried to edit for this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.