Why won't my ASP static site "include" statement work in a virtual directory on IIS7.5?

My company has a static website that is coded in ASP.  In IIS7.5 I have verified that my asp.dll file is in C:\Windows\System32\inetsrv.  I have installed every Windows IIS feature available except for the ability to ftp.  When I try to browse this site from IIS, I get "An error occurred on the server when processing the URL. Please contact the system administrator. If you are the system administrator please click here to find out more about this error."  At that point I will go to my "C:\inetpub\logs\LogFiles\W3SVC1" to view my log file and I find the error message "|54|ASP_0126|Include_file_not_found 80".   I tried various combinations of <!--#include virtual="./_includes/footer-home.inc.asp"-->, <!--#include virtual="../_includes/footer-home.inc.asp"-->, <!--#include virtual="_includes/footer-home.inc.asp"-->, <!--#include file="_includes/footer-home.inc.asp"-->, <!--#include virtual="C:\inetpub\wwwroot\Aircelcorp\_includes"-->, etc.  I have set Enable Parent Paths to true.  Any information to point me in the right direction would be much appreciated.
eightbal68Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DominoGCommented:
Try:

Renaming the include file to footerhomeinc.asp

Then use this:

<!--#include virtual="/_includes/footerhomeinc.asp"-->
0
eightbal68Author Commented:
Renaming of the file did not work.  Is there a setting in IIS7.5 that I am over looking to get ASP files to work with include files?
0
DominoGCommented:
Instructions for enabling server side includes:

http://www.iis.net/ConfigReference/system.webServer/serverSideInclude
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

eightbal68Author Commented:
Everything under Application Development has already been installed.
0
mrcoffee365Commented:
Add .shtml to the Handler Mappings for your app.
0
eightbal68Author Commented:
Sorry, I forgot to mention that, I have already enabled .shtml, .shtm, and .stm to the handler mappings on this server.
0
mrcoffee365Commented:
DominoG was essentially right -- you need to follow the steps in the link they provided.

You say that you have done everything, but probably something hasn't been done.  It's hard to tell without seeing the actual configuration.

This is an excellent discussion from David Wang about SSI and IIS:
http://www.eggheadcafe.com/software/aspnet/29426779/how-to-enable-ssi-shtml.aspx

He suggests re-installing things you think are already installed.  And the documentation DominoG provided showed programmatic ways to edit the Web Site configuration, which you might try as well.
0
DominoGCommented:
You need to turn on full script errors so you can see the real problem in the browser:

Start an elevated command prompt. Right-click the command shell item in the Start-Accessories menu and select "Run as Administrator".

Run the following command: %windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
eightbal68Author Commented:
Domino, how long does it normally take to run "%windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true:"?
0
eightbal68Author Commented:
Nevermind this time it went right through.
0
eightbal68Author Commented:
Thanks.
0
mrcoffee365Commented:
It would help others at EE if you would post the solution to your SSI config with IIS.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.