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:
Cyclic Include The file 'main.asp' is included by itself (perhaps indirectly). Please check include files for other Include statements.
- Article ID:
211 - Date Created
Thursday, February 2, 2017 - This Article Has been Viewed
943 times - Short Desc
When you add in an INCLUDE FILE to an ASP Document, with the same name of the file it is included in. - Details
Using Includes helps to keep your code organized. Sometimes when we are in a hurry, we tend to write the name of the file we're in, instead of the file that we need to include.
And this simple mistake will create the following error.Active Server Pages error 'ASP 0135'
Cyclic Include
/test/main.asp, line 90
The file 'main.asp' is included by itself (perhaps indirectly). Please check include files for other Include statements. - Recreate Issue
To Recreate this issue.
Name the file Main.asp
Now, add the include to it.
<!--#include file="main.asp"-->
This will cause the error. - Resolve Issue
To resolve this issue.
The name of the file is Main.asp.
Create another file, and add in the information to it, that needs to be included into the Main.asp file. Once the file has been created, insert the following statement to your Main.asp file.
<!--#include file="Other.asp"-->
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