Question
July 9, 2007 at 11:24 PM
vineed_menon

Includes tag in ASP 3.0

by vineed_menon . Updated 18 years, 11 months ago

I am having an ASP application. I am having a asp page that includes another asp file. The application is to be hosted on the Internet with ‘Enable Parent Paths disabled’ i.e I cannot use ‘..’ for referring to my root folder.

The folder structure of the application is as

wwwroot
–> ApplicationFolder (Virtual Directory)
—–> MasterPages (Folder)
———-> indexPage.asp
—–> includes (Folder)
———-> pageInfo.asp

I am constantly getting errors on the include tags the aspx page is having. I have used almost all combinations of include tags like





But all of these are giving me an ‘include file not found error’. I have checked all the settings in IIS and I simply cannot understand what is the cause of this problem

Also I would like to state that I cannot use the name of the virtual directory with the include tags as there are chances that the name of the virtual directory might change.

If anyone knows what is the mistake I am making please let me know.

Regards

Vineed

This discussion is locked

All Comments