Error Type Microsoft Vbscript Compilation 0x800a0408 Invalid Character
Contents |
+ Ask a Question Need help? Post your question and get tips & solutions from a community of 418,546 IT Pros & Developers. It's quick & easy.
Microsoft Vbscript Compilation Error '800a0408' Invalid Character
Microsoft VBScript compilation (0x800A0408) Invalid character P: n/a aklsdjfh I'm no expert in microsoft vbscript compilation error invalid character 1 1 asp and vbscript but not a total beginner. I've got some VBScript in an asp page which is generating a
Microsoft Vbscript Compilation Error 800a0400
forumla for use in Lotus Notes replication. The line that it is objecting to is <% if user2 <> "" then response.write("| @IsMember("" & LCase(user2) & "";@LowerCase(@Name([CN];AssignedTo)))") end if %> i.e. if vbscript compilation error syntax error the string user2 is "Mike" I expect the HTML to be | @IsMember("mike";@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("" & LCase(user2) & "";@LowerCase(@Name([CN];AssignedTo)))") end if --------------------------------------------------------^ i.e. it is the semicolon on the first " that it microsoft vbscript compilation error '800a03ea' doesn't like. Why not? It is part of a string in quotes? I thought getting rid of the " 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 Post Reply Share this Question 1 Reply P: n/a aklsdjfh Don't know what was going on there but I retyped the line and it's ok now ?! "aklsdjfh"
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies
Microsoft Vbscript Compilation Error Fix
of this site About Us Learn more about Stack Overflow the company microsoft vbscript compilation error: expected statement Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users
Microsoft Vbscript Compilation Error 800a0401
Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a https://bytes.com/topic/asp-classic/answers/126866-microsoft-vbscript-compilation-0x800a0408-invalid-character minute: Sign up Why does VBScript say “Invalid Character” when using ExecuteGlobal to import a .vbs function library file? up vote 2 down vote favorite 2 I am encountering a "Invalid Character" error in my VBscript! In particular, within this block of code: '******************************************************************* 'Import Code 'by Cheyne Wallace 'November 2008 'When using only VBscript (not QTP), this code will import any http://stackoverflow.com/questions/13996394/why-does-vbscript-say-invalid-character-when-using-executeglobal-to-import-a function library passed into it. 'Copy this function into a file, then use it to bring in various other function libraries. 'Usage: ' Import "Library.vbs" Sub Import(strFile) Dim objFSO : Set objFSO = CreateObject("Scripting.FileSystemObject") Dim wss : Set wss = CreateObject("WScript.Shell") strFile = wss.ExpandEnvironmentStrings(strFile) strFile = objFSO.GetAbsolutePathName(strFile) Set objFile = objFSO.OpenTextFile(strFile, 1) ExecuteGlobal objFile.ReadAll objFile.Close : Set objFSO = nothing Set wss = Nothing End Sub The error states "Microsoft VBScript compilation error. Invalid Character. Code: 800A0408" on Char: 2, Line 206 which is the very first letter on ExecuteGlobal objFile.ReadAll (character 1 is a tab). I have typed and retyped the line, as well as the surrounding line breaks. Still, it keeps saying 'Invalid character'. What is going on?? character-encoding vbscript import importerror invalid-characters share|improve this question edited Aug 22 '13 at 0:25 asked Dec 21 '12 at 19:56 Eptin 56931131 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote accepted As it turns out, the problem was not with ExecuteGlobal, but instead with the .vbs file I was attempting to import. The file I was i
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask https://www.experts-exchange.com/questions/10735461/Invalid-character-MS-VBScript-compilation-0x800A0408-listing-4-14.html for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today https://advodka.com/keyword/microsoft%20vbscript%20compilation%20error%20invalid%20character?region=spb&engine=google Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Invalid character - MS VBScript compilation (0x800A0408), listing 4.14 vbscript compilation Want to Advertise Here? Solved Invalid character - MS VBScript compilation (0x800A0408), listing 4.14 Posted on 2000-07-18 ASP 1 Verified Solution 7 Comments 767 Views Last Modified: 2008-02-20 Hi, I am a newbie at ASP. I am learning it from the book: ASP 3.0 from Scratch by Nicholas Chase. I am stuck on microsoft vbscript compilation chapter 4, listing 4.14. Can anyone help. Thanks! I have this error: *Error Type: Microsoft VBScript compilation (0x800 A0408) Invalid character /take_register2.asp, line 19, column 33 I have 2 files & 1 database: register2.asp & take_register.asp & outpostDB register2.asp file <%@ LANGUAGE="VBSCRIPT" %> <% pageTitle = "Register" %>
Register
Fill in this form to become a member of Primary Outpost