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 (0x800A0400) Expected statement
- Article ID:
27 - Date Created
Wednesday, October 6, 2010 - Last Updated
Saturday, December 25, 2010 - This Article Has been Viewed
3281 times - Short Desc
When writing your IF statement, make sure that you properly write our all variables to make the statement work properly, if not, you will get a pected statement error. - Details
When you are writing out your IF Statement, make sure that you write is correctly and that it holds all the proper information that is needed in order to carry out what ever function that you need it to.
Issue #1:Microsoft VBScript compilation (0x800A0400)
Expected statement
/page.asp, line 80, column 5
else then
----^
Issue #2:
This is caused when you use an END IF and there if no beginning IF Statement.Microsoft VBScript compilation (0x800A0400)
Expected statement
/AdminComs.asp, line 106
end if - Recreate Issue
To recreate this issue.
Issue #1:<%
if then
response.write"Hello I am here"
end if
%>
The above Issue we forgot to add in a value between our IF and THEN
Issue #2:<%
response.write"Hello I am here"
end if
%>
In the above, we do not have our IF Statement, so the END IF gets the errors.
- Resolve Issue
To correctly write out an IF statement, make sure that you have all available information ready for the process to work.
Issue #1: & Issue #2
<%
if getType="MyType" then
response.write"Hello I am here"
end if
%>
Both Issue #1 , we have the getType="MyType" which was left out of the original IF Statment. And for Issue #2, we have the beginning IF Statement.
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