Active Server Pages error ‘ASP 0131’
Disallowed Parent Path
The Include file '../include/…'cannot contain ‘..’ to indicate the parent directory.
domain host glassonchina.com
please help!
zxytes
Active Server Pages error ‘ASP 0131’
Disallowed Parent Path
The Include file '../include/…'cannot contain ‘..’ to indicate the parent directory.
domain host glassonchina.com
please help!
zxytes
We need to enable parent path for you. Please send an email to support with your account ID.
[QUOTE=zxytes]
Active Server Pages error ‘ASP 0131’
Disallowed Parent Path
The Include file '../include/…'cannot contain ‘..’ to indicate the parent directory.
domain host glassonchina.com
please help!
zxytes
[/QUOTE]
Hi,
Change
to
For any help mail me.
Regards,
populate
Hi
I am getting following error
Active Server Pages error ‘ASP 0131’
Disallowed Parent Path
The Include file ‘../stimeout.asp’ cannot contain ‘..’ to indicate the parent directory.
Pls help …code is like
Faculty Personnel Record - Teaching and Curriculum Development BODY {font-family:Verdana;font-size:12} TABLE {font-family:Verdana;font-size:12}<%
'To check if timeout set in global.asa is working or not
'response.write("Timeout is now: " & Session.Timeout)
Dim FID
FID = Session(“Faculty_ID”)
if FID = “” then
%>
<%else%>
<%
acad_year = Session(“acad_year”)
'For semesters - seperating the years
Dim year1, year2, len_opt, arr_opt()
len_opt = 0
len_opt = len(acad_year)
ReDim arr_opt(len_opt)
'Copy the value in option into a character array
For i = 1 to len_opt
arr_opt(i) = Mid(acad_year,i,1)
Next
'Check for '*' sign and copy start date alone into variable start_date
For ch1 = 1 to len_opt
if arr_opt(ch1) <> "-" then
year1 = year1 & arr_opt(ch1)
else
ch1 = ch1 + 1
Exit For
end if
Next
'Copy the year2 into the variable year2
For ch2 = ch1 to len_opt
year2 = year2 & arr_opt(ch2)
Next
query = “SELECT COUNT(*) AS TOTAL FROM COURSE_FACULTY WHERE Faculty_ID=”&FID&" and Acad_Year = ‘“&acad_year&”’"
Set rs = dbc.Execute(query)
rs.movefirst 'Definitely there will be a rs with either zero or >zero correspondingly so no need to chk
do while not rs.eof
flag = rs(“TOTAL”)
rs.movenext
loop
Set rs=Nothing
setdbErrMsg = Request.QueryString(“err”)
%>
I take it you aren’t a customer here, as we have parent paths enabled all the time.
However to enable parent paths, go to your IIS Manager(from control panel), right click your domain in the list of services, go to properties, then Home Directory, go to configuration button near the bottom, click App Option, and check Enable Parent Paths, OK out and you are done.