Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

our company have a a old classic asp application, we have no choice but to host it. I just moved it to another server. It was perfectly running fine in old server but in this new server it's continuously giving this error. I am running windows 2003 server with IIS 6. Why I am geting this error ? please help.

Active Server Pages error 'ASP 0126'

Include file not found

/application/unprocessed_application.asp, line 56

The include file '../../_fplclass/pdblib.inc' was not found. 
share|improve this question

2 Answers 2

I would change the code to use virtual path instead of file. Also make sure the application pool's user account has read access on that file.

#include virtual=/_fpclass/pdblib.inc

share|improve this answer

The path to pdblib.inc is outside of the document root for your site based on the path /application/unprocessed_application.asp. Make sure you have parent paths enabled on the new server, it is disabled by default in IIS6.

In IIS Manager,

  1. Right-click your web site and click Properties
  2. On the Home Directory tab click the Configuration button
  3. Click Options and then make sure Enable Parent Paths is checked

EDIT:
You'll also get this error if you're using and #include virtual=<path_to_file> instead of #include file=<path_to_file>

share|improve this answer
    
I did it, still facing same problem –  sagarmatha Oct 29 '10 at 3:11
    
@sagarmatha see my edit –  squillman Oct 29 '10 at 13:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.