CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
Microsoft VBScript compilation (0x800A03EE) Expected ')'
- Article ID:
49 - Date Created
Tuesday, November 23, 2010 - Last Updated
Tuesday, November 23, 2010 - This Article Has been Viewed
2702 times - Short Desc
ASP and Double Quotes will only work within the ASP code itself, if you double up on the Quotes. From " to "" - Details
When you write Double Quotes into your ASP code, you sometimes forget to double up on them. If you do not double up on the Quotes, you will receive the error below.
Microsoft VBScript compilation (0x800A03EE)
Expected ')'
wiki.asp, line 27, column 72
strString1 = Reggex(strString1, "\=\=\=\=(.*?)\=\=\=\=", "<li><a class="ConMenu" href="#$1">$1</a></li>")
-------------------------------------------------------------------------------------------^ - Recreate Issue
To recreate this issue
<%
strString1 = Reggex(strString1, "\=\=\=\=(.*?)\=\=\=\=", "<li><a class="ConMenu" href="#$1">$1</a></li>")
%>
The above string has only single Quotes, and this will cause you to receive the error. - Resolve Issue
To correctly write out Quotes within your ASP code perform the following.
<%
strString1 = Reggex(strString1, "\=\=\=\=(.*?)\=\=\=\=", "<li><a class=""ConMenu"" href=""#$1"">$1</a></li>")
%>
As you can see in the above example, we have doubled up on our Quotes.
This will make our output correct XHTML Validated code, and will make it so that our ASP will validate as well, and that means no more errors.
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24695
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16825