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.
  • Breadrumbs:
  • Microsoft VBScript compilation (0x800A03EA) Syntax error

  • CFF Knowledge Base - Share With Facebook CFF Knowledge Base - Share on Twitter CFF Knowledge Base - Share on Reddit CFF Knowledge Base - Share on Digg It CFF Knowledge Base - Share on Stumble Upon It CFF Knowledge Base - Share on Delicious
    Share With Friends (Updated 6-8-2010)
  • Article ID:
    28
  • Date Created
    Wednesday, October 6, 2010
  • Last Updated
    Friday, December 24, 2010
  • This Article Has been Viewed
    3256 times
  • Short Desc
    When doing a response.write you will sometimes add in one of more unnessary & ampersand's into your equation.
  • Details
    Issue #1:
    When writing out your response.write or similar code, you may write out to many ampersands into your equation.

     
    Microsoft VBScript compilation (0x800A03EA)
    Syntax error
    /page.asp, line 81, column 15
    Response.Write(&"("&MyFolder&")"&)
    ---------------------^


    Issue #2:
    Can come from 1 to many = (equal signs) in the making of your variables.

     
    Microsoft VBScript compilation (0x800A03EA)
    Syntax error
    /Header.asp, line 24, column 12
    strid = = rsUser("ID")
    --------^
  • Recreate Issue
    To recreate this issue.
    Issue #1:
    <%
    =&"("&MyFolder&")"&
    %>


    Issue #2:
    <%
    strid = = rsUser("ID")
    %>
  • Resolve Issue
    To correct this issue
    Issue #1:
    <%
    =("&MyFolder&")
    %>

    (or)
    <%
    =MyFolder
    %>


    As you can see, we removed the beginning and ending ampersand from the string.

    Issue #2:
    <%
    strid = rsUser("ID")
    %>

    As you can see, we have removed the extra = sign from the variable creation.