IIS and include

G

Guest

I have a website, it's structure is:

-index(folder)
|-- index.asp
-include(folder)
|-- dbcon.inc

when I update IIS 5.0 to IIS 6.0, this application can not run.

The prompt is:

Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/index/index_m.asp, line 1

The Include file '../include/dbcon.inc' cannot contain '..' to indicate the
parent directory.
 
G

George Hester

It's part of the security in IIS 6. You can't use relative addressing without a change to its configuration.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top