Welcome to HostingForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

cannot view ASP on IIS6.0

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS6 ASP lock up.  
Author Message
mysimon00

External


Since: Jan 02, 2004
Posts: 1



(Msg. 1) Posted: Fri Jan 02, 2004 8:06 am
Post subject: cannot view ASP on IIS6.0
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello, I am using Windows Server 2003 with IIS6.0. I am ma newbie however learning to do an academic project. I have this ASP pages ready and try to view them using the IIS manager. I used the 'browse' command to view them but nothing happen. HTML pages are working fine... Please help me...

 >> Stay informed about: cannot view ASP on IIS6.0 
Back to top
Login to vote
anonymous812

External


Since: Jan 02, 2004
Posts: 1



(Msg. 2) Posted: Fri Jan 02, 2004 8:21 am
Post subject: RE: cannot view ASP on IIS6.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Below are the message shown when I tried to browse the virtual directory

Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/forum/includes/include.asp, line 1

The Include file '../database/constants.asp' cannot contain '..' to indicate the parent directory.

 >> Stay informed about: cannot view ASP on IIS6.0 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 3) Posted: Fri Jan 02, 2004 5:14 pm
Post subject: Re: cannot view ASP on IIS6.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

See if this helps:

<a rel="nofollow" style='text-decoration: none;' href="http://www.ilopia.com/Windows+Server+2003/FAQ/IIS/88.aspx" target="_blank">http://www.ilopia.com/Windows+Server+2003/FAQ/IIS/88.aspx</a>

I have created an *.asp file, but when i try to browse it I get HTTP
Error 404 - File or directory not found. I know the file is there, what
could be wrong?
IIS 6 is locked down by default. This means that script files like asp
and php cannot be executed until you allow it. To allow asp files, follow
these steps:

a.. Click Start->Programs->Administrative Tools->Internet
Information Services Manager
b.. Expand <servername> and click Web Service Extensions
c.. In the right pane, right click Active Server Pages and select
Allow



--
Regards,
Kristofer Gafvert - IIS MVP
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
<a rel="nofollow" style='text-decoration: none;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a> - FAQ and Tutorials for Windows Server 2003


"simox" wrote in message

 > Hello, I am using Windows Server 2003 with IIS6.0. I am ma newbie however
learning to do an academic project. I have this ASP pages ready and try to
view them using the IIS manager. I used the 'browse' command to view them
but nothing happen. HTML pages are working fine... Please help me...
 >> Stay informed about: cannot view ASP on IIS6.0 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 4) Posted: Fri Jan 02, 2004 5:44 pm
Post subject: Re: cannot view ASP on IIS6.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Then try this instead:

<a rel="nofollow" style='text-decoration: none;' href="http://www.ilopia.com/Windows+Server+2003/FAQ/IIS/87.aspx" target="_blank">http://www.ilopia.com/Windows+Server+2003/FAQ/IIS/87.aspx</a>

Question:
I cannot use <!--#include file="../myfile.asp"--> in my asp file. I
get this error (or similar):
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/folder1/folder2/default.asp, line 3
The Included file '../test.asp' cannot contain '..' to indicate the
parent directory.
Answer:

IIS 6 is locked down by default. Parent Paths is a way for a hacker to
navigate to a folder on the web server that has execute permissions, and in
that way execute scripts that you normally shouldn't and wouldn't execute.
If you enable this, make sure that you do not give execute permissions to a
parent folder. To enable Parent Paths, follow these steps:

a.. Click Start->Programs->Administrative Tools->Internet
Information Services
b.. Expand Web Sites and right click the web site you want to enable
this for (i.e Default Web Site), click Properties
c.. Click the Home directory tab and click the Configuration button
d.. Click on the Options tab
e.. Check the box Enable Parent Paths



--
Regards,
Kristofer Gafvert - IIS MVP
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.
<a rel="nofollow" style='text-decoration: none;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a> - FAQ and Tutorials for Windows Server 2003


"simox" wrote in message

 > Below are the message shown when I tried to browse the virtual directory
 >
 > Active Server Pages error 'ASP 0131'
 >
 > Disallowed Parent Path
 >
 > /forum/includes/include.asp, line 1
 >
 > The Include file '../database/constants.asp' cannot contain '..' to
indicate the parent directory.
 >
 >> Stay informed about: cannot view ASP on IIS6.0 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IIS6, cannot view asp page with IP address - It always popup a logon window and need the user name, password and domain name. But it works well if I use "localhost" to view the asp page. Can anyone help me? Thanks a lot

server not found dns error when user try to view the pages.. - Dear expert. I have some problem on the configuration of IIS web server on windows 2003 server environment. My problem is when difference user using difference ISP service some time it can see the web pages but sometime cannot see it or it can see one of...

Not able to view asp pages - Active Server Pages error 'ASP 0126' Include file not found /Default.asp, line 17 The include file '/iissamples/homepage/sub.inc' was not found. where does one retrieve this file? Then where does one place it? Thank you for any assistance...

IIS 6 - Want to view msg format on IE - Hi all, I'm using Windows Server 2003 and IIS 6 at the moment. I have a web page that has a link to a "msg" format file. When I click on the link it adds the "mhtml:" infront of the page address and i have page not available error....

Not been able to view the online help of IIS - I think I have some problem in viewing the asp files on the server. What could be the reason for it. regards harvinder
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]