วันอังคารที่ 29 ธันวาคม พ.ศ. 2552

IIS7 and old asp problem

Yesterday i need to set some asp application on IIS7 (Vista)
and found something (I already install asp component)

If asp have error occur it doesn't show error message and tell me to contact administrator (that's me)

"An error occurred on the server when processing the URL. Please contact the system administrator"

for this go to setting error to show go to root web sites (don't know why set per application not work)
setting in asp
Send Errors To Browser = true

yes after this i see error but it confuse me more
with this word

Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/default.asp, line 1

The Include file '../header.inc' cannot contain '..' to indicate the parent directory.

What this mean yes after research i found IIS7 don't allow parent path for asp by default.
um again.

go to asp setting and set
Enable Parent Paths = true

Yes after this you will see real error come true.

you can use trace your application by Failed Request Tracing Rules for another options about this

ไม่มีความคิดเห็น: