<i><b>Originally posted by : helpme (eludz@hotmail.com)</b></i><br /><br />Microsoft VBScript compilation error '800a03f2' <br /><br />Expected identifier <br /><br />/scripts/openconn.inc, line 11 <br /><br />strconn = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("../data/support.mdb")<br /><br />it says expected identifier and points to ".." in the MapPath... basically it's saying that it expects some identifier in the MapPath... I have been stuck on this for 2 hours and it is driving me nuts.. please helpme .. asap.. thanks..<br />
<i><b>Originally posted by : helpme (eludz@hotmail.com)</b></i><br /><br />fixed it.. wheee...<br />------------<br />helpme at 8/10/2000 12:48:14 PM<br /><br /><br />Microsoft VBScript compilation error '800a03f2' <br /><br />Expected identifier <br /><br />/scripts/openconn.inc, line 11 <br /><br />strconn = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("../data/support.mdb")<br /><br />it says expected identifier and points to ".." in the MapPath... basically it's saying that it expects some identifier in the MapPath... I have been stuck on this for 2 hours and it is driving me nuts.. please helpme .. asap.. thanks..<br />
Was this answer helpful ?
Yes No
Having a similar issue. Trying to use a RegExp object:
Microsoft VBScript compilation error '800a03f2'
Expected identifier
/adddocument.asp, line 953
objRegExp.Pattern = "(?:\<.*?)(.*?\".*?)(?:<\/.*?>)"
-------------------------------------^
Any suggestions? I have tried both escaping and not escaping the "<". When not escaped, it failes on ".*?\".*?"
---------------------------------------------------------^
Basically, I'm trying to strip out the double quotes from HTML submitted by end users. Maybe I'm going about this the wrong way, but...
Thanks.
Was this answer helpful ?
Yes No
I found a way to solve my problem. Originally, Server.HTMLEncode didn't seem to solve the problem. When the text was queried from the db for later editing, it would be corrupted html. Rather than just encode on insert, I also encode the select query results:
<% =Server.HTMLEncode(docRS("documentCode")) %>
Hope this helps someone else pulling their hair out with submitted HTML!!
Was this answer helpful ?
Yes No