728x90

OS : Windows 2003 Server
IIS Version : 6.0

include file 을 사용했을시
<!--#include file="../abc.asp"-->

(영문일 경우)
Active Server Pages, ASP 0131
Disallowed Parent Path
The Include file '../<filename .ext>' cannot contain '..' to indicate the parent directory.
/<path>/<filename .ext>, line <number>
</number></filename></path></filename>


(한글일 경우)
Active Server Pages 오류 'ASP 0131'
허용되지 않는 부모 경로
/asp/test.asp, 줄 1
'./../abc.asp' Include 파일은 부모 디렉터리를 표시하기 위해 '..'를 사용할 수 없습니다.



위와 같은 에러 메세지를 보게 됐을때는..

include 구문을 변경하거나

<!--#include file="../abc.asp"--> 를 <!--#include virtual="./lib/abc.asp"--> 로 변경


IIS 설정을 변경 해 준다.

(영문일 경우)
IIS -> Home Directory -> App Option -> Enable Parent Paths checkbox  체크


(한글일 경우)
IIS-> 웹사이트 속성 -> 홈디렉터리 -> 구성 -> 옵션 -> 부모경로사용 체크

관련내용 : http://support.microsoft.com/default.aspx?scid=kb;en-us;Q226474
728x90

'Developer > ASP (Active Server Page)' 카테고리의 다른 글

asp 내장함수  (0) 2008.08.07
FileSystemObject개체  (0) 2007.07.03
ASP FormatDateTime  (0) 2007.04.17
728x90

http://www.w3.org/Protocols/rfc2616/rfc2616.html

1. Informational
100 : Continue
101 : Switching Protocols

2. Successful
200 : OK
201 : Created
202 : Accepted
203 : Non-Authoritative Information
204 : No Content
205 : Reset Content
206 : Partial Content

3. Redirection
300 : Multiple Choices
301 : Moved Permanently
302 : Found
303 : See Other
304 : Not Modified
305 : Use Proxy
306 : (Unused)
307 : Temporary Redirect

4. Client Error
400 : Bad Request
401 : Unauthorized
402 : Payment Required
403 : Forbidden(접근권한 제어)
404 : Not Found(파일 없음)
405 : Method Not Allowed
406 : Not Acceptable
407 : Proxy authentication Required
408 : Request Timeout
409 : Conflict
410 : Gone
411 : Length Required
412 : Precondition Failed
413 : Request Entity Too Large
414 : Request URI Too Long
415 : Unsupported Media Type
416 : Requested Range Not Satisfiable
417 : Expectation Failed

5. Server Error
500 : Internal Server Error
501 : Not Implemented
502 : Bad Gateway
503 : Service Unavailable
504 : Gateway Timeout
505 : HTTP Version Not Supported



728x90

'Developer' 카테고리의 다른 글

정규표현  (0) 2008.01.29
14 Tab-Based Interface Techniques  (0) 2007.04.18
Online Converters  (0) 2007.04.10

+ Recent posts