Active Server Pages error 'ASP 0131' Disallowed Parent Path

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”)
%>

<%'%> <% if flag <> 0 then query = "SELECT * FROM COURSE_FACULTY WHERE Faculty_ID="&FID&" and Acad_Year = '"&acad_year&"' ORDER BY Semester_Name" Set rs = dbc.Execute(query) rs.movefirst %> <% end if Set rs = Nothing %>
I.TEACHING AND CURRICULUM DEVELOPMENT
 
A 1. Teaching: Spring, Summer and Fall Semesters
<% do while not rs.eof %> <% rs.movenext loop %>
Option
Semester
Leave
Course No.
Call No.
Course Title
Census Day Enrlmt
Course Taught
Eval Admin
Evaluation Score**
*<%=rs("Course_No")%>*<%=rs("Call_Num")%>" onClick="hvar.value = this.value; teaching_edit()">Edit
*<%=rs("Course_No")%>*<%=rs("Call_Num")%>" onClick="hvar.value = this.value; teaching_add()">Delete
<%=rs("Semester_Name")%> <%=rs("Sabbatical_Leave")%> <%=rs("Course_No")%> <%=rs("Call_Num")%> <%=rs("Course_Name")%> <%=rs("No_Of_Students")%> <%=rs("Load")%> <%=rs("Eval")%> <%=rs("SIT_Score")%>
 
Add Courses
Semester*:
On Leave?*:
No   Yes
Course Number*:
Descriptive Title*:
Call Number*:
Census Day Enrollment*:
Course Taught*:
Onload   Offload
Course Evaluation Administered*:
Yes   No
SIT Score Qn 29/Contract MBA Qn 6:
 

Indicate any periods of sabbatical leave, leave without pay, other leaves, or grant-funded released time.

SIT Score Qn 29/Contract MBA Qn 6: Compared to other instructors you have had at UIC this instructor was ...
(5 = Excellent, 4 = Good, 3 = Average, 2 = Poor, 1 = Very Poor)

 
   Clear   
 
<%end if%>

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.