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

ASP pages forbidden in IIS

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS hanging on .asp requests  
Author Message
javabeanbean

External


Since: Jan 14, 2005
Posts: 11



(Msg. 1) Posted: Tue Jan 18, 2005 3:47 pm
Post subject: ASP pages forbidden in IIS
Archived from groups: microsoft>public>inetserver>iis (more info?)

hi
I have a web page running in IIS webserver
I could be able to run some ASP Pages but when I click on the link on these
pages
to forwarded to some other ASP pages, IE show that "HTTP 403 (forbidden)
you are not authorized to view this page"

Does any one know what's wrong?


Thanks!

 >> Stay informed about: ASP pages forbidden in IIS 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 2) Posted: Wed Jan 19, 2005 12:21 am
Post subject: Re: ASP pages forbidden in IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

Please open the IIS log file and tell us what the substatus code for this
request is. It can be anything from 1 to 20.

The IIS log file can be found in:
C:\Windows\System32\LogFiles\W3CNNNNNN

Thank you!


--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My articles and help
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>


Lam wrote:

 > hi
 > I have a web page running in IIS webserver
 > I could be able to run some ASP Pages but when I click on the link on
these
 > pages
 > to forwarded to some other ASP pages, IE show that "HTTP 403 (forbidden)
 > you are not authorized to view this page"
 >
 > Does any one know what's wrong?
 >
 >
 > Thanks!<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ASP pages forbidden in IIS 
Back to top
Login to vote
javabeanbean

External


Since: Jan 14, 2005
Posts: 11



(Msg. 3) Posted: Wed Jan 19, 2005 9:18 am
Post subject: Re: ASP pages forbidden in IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

in the file C:\WINDOWS\system32\LogFiles\W3SVC1272835648\ex050119.log
it said that
"GET /members/index.asp |14|ASP_0131|Disallowed_Parent_Path 88 -
192.168.2.169
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) 500 0
0"


"Kristofer Gafvert" <kgafvert.DeleteThis@NEWSilopia.com> wrote in message
news:xn0dxfqub18ojh7009@news.microsoft.com...
 > Hello,
 >
 > Please open the IIS log file and tell us what the substatus code for this
 > request is. It can be anything from 1 to 20.
 >
 > The IIS log file can be found in:
 > C:\Windows\System32\LogFiles\W3CNNNNNN
 >
 > Thank you!
 >
 >
 > --
 > Regards,
 > Kristofer Gafvert
 > <a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My articles and help
<font color=purple> > <a style='text-decoration: underline;' href="http://www.ilopia.com</font" target="_blank">www.ilopia.com</font</a>>
 >
 >
 > Lam wrote:
 >
  > > hi
  > > I have a web page running in IIS webserver
  > > I could be able to run some ASP Pages but when I click on the link on
 > these
  > > pages
  > > to forwarded to some other ASP pages, IE show that "HTTP 403 (forbidden)
  > > you are not authorized to view this page"
  > >
  > > Does any one know what's wrong?
  > >
  > >
  > > Thanks!<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP pages forbidden in IIS 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 4) Posted: Wed Jan 19, 2005 9:18 am
Post subject: Re: ASP pages forbidden in IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

The status code of this request is 500, and not 403, and it tells you that
Parent Paths are not allowed. If you need to use parent paths, you have to
enable it. This is disabled on Windows Server 2003 by default.

Instructions on how to enable this in Windows Server 2003 can be found
here:
<a style='text-decoration: underline;' href="http://www.ilopia.com/FAQ/Q29.aspx" target="_blank">http://www.ilopia.com/FAQ/Q29.aspx</a>


--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My articles and help
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>


Lam wrote:

 > in the file C:\WINDOWS\system32\LogFiles\W3SVC1272835648\ex050119.log
 > it said that
 > "GET /members/index.asp |14|ASP_0131|Disallowed_Parent_Path 88 -
 > 192.168.2.169
 > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322)
500 0
 > 0"
 >
 >
 > "Kristofer Gafvert" <kgafvert.TakeThisOut@NEWSilopia.com> wrote in message
 > news:xn0dxfqub18ojh7009@news.microsoft.com...
  > > Hello,
  > >
  > > Please open the IIS log file and tell us what the substatus code for
this
  > > request is. It can be anything from 1 to 20.
  > >
  > > The IIS log file can be found in:
  > > C:\Windows\System32\LogFiles\W3CNNNNNN
  > >
  > > Thank you!
  > >
  > >
  > > --
  > > Regards,
  > > Kristofer Gafvert
  > > <a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My articles and help
<font color=green>  > > <a style='text-decoration: underline;' href="http://www.ilopia.com</font" target="_blank">www.ilopia.com</font</a>>
  > >
  > >
  > > Lam wrote:
  > >
   > > > hi
   > > > I have a web page running in IIS webserver
   > > > I could be able to run some ASP Pages but when I click on the link on
  > > these
   > > > pages
   > > > to forwarded to some other ASP pages, IE show that "HTTP 403
(forbidden)
   > > > you are not authorized to view this page"
   > > >
   > > > Does any one know what's wrong?
   > > >
   > > >
   > > > Thanks!<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP pages forbidden in IIS 
Back to top
Login to vote
lists

External


Since: Apr 22, 2004
Posts: 390



(Msg. 5) Posted: Wed Jan 19, 2005 10:35 am
Post subject: Re: ASP pages forbidden in IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 19 Jan 2005 09:18:09 -0500, "Lam" <javabeanbean.TakeThisOut@hotmail.com>
wrote:

 >in the file C:\WINDOWS\system32\LogFiles\W3SVC1272835648\ex050119.log
 >it said that
 >"GET /members/index.asp |14|ASP_0131|Disallowed_Parent_Path 88 -
 >192.168.2.169

Check this out for parent paths:

<a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;332117" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;EN-US;332117</a>


John Cesta

The CPU Checker - Monitors your CPU % while you sleep
LogFileManager - IIS LogFile Management Tool
WebPageChecker - Helps Maintain Server UpTime
DomainReportIt PRO - Helps Rebuild IIS
<a style='text-decoration: underline;' href="http://www.serverautomationtools.com" target="_blank">http://www.serverautomationtools.com</a>

 >Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) 500 0
 >0"
 >
 >
 >"Kristofer Gafvert" <kgafvert.TakeThisOut@NEWSilopia.com> wrote in message
 >news:xn0dxfqub18ojh7009@news.microsoft.com...
  >> Hello,
  >>
  >> Please open the IIS log file and tell us what the substatus code for this
  >> request is. It can be anything from 1 to 20.
  >>
  >> The IIS log file can be found in:
  >> C:\Windows\System32\LogFiles\W3CNNNNNN
  >>
  >> Thank you!
  >>
  >>
  >> --
  >> Regards,
  >> Kristofer Gafvert
  >> <a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My articles and help
<font color=green>  >> <a style='text-decoration: underline;' href="http://www.ilopia.com</font" target="_blank">www.ilopia.com</font</a>>
  >>
  >>
  >> Lam wrote:
  >>
   >> > hi
   >> > I have a web page running in IIS webserver
   >> > I could be able to run some ASP Pages but when I click on the link on
  >> these
   >> > pages
   >> > to forwarded to some other ASP pages, IE show that "HTTP 403 (forbidden)
   >> > you are not authorized to view this page"
   >> >
   >> > Does any one know what's wrong?
   >> >
   >> >
   >> > Thanks!
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP pages forbidden in IIS 
Back to top
Login to vote
javabeanbean

External


Since: Jan 14, 2005
Posts: 11



(Msg. 6) Posted: Thu Jan 20, 2005 6:55 pm
Post subject: Re: ASP pages forbidden in IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
javabeanbean

External


Since: Jan 14, 2005
Posts: 11



(Msg. 7) Posted: Fri Jan 21, 2005 2:24 pm
Post subject: Re: ASP pages forbidden in IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

sorry to bother again
after I enable the parent paths
I was able to display more asp pages
but there is still some ASP pages that still experienceing difficulties
the following is the message from log file

2005-01-21 19:16:48 192.168.2.169 GET /members/validation.asp auto=true 88 -
192.168.2.169
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) 302 0
0
2005-01-21 19:16:48 192.168.2.169 GET /members/index.asp
|12|800a0401|Expected_end_of_statement 88 - 192.168.2.169
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) 500 0
0

Can any tell me what's wrong?

thanks a lot

"Lam" <javabeanbean RemoveThis @hotmail.com> wrote in message
news:esvdav0$EHA.1452@TK2MSFTNGP11.phx.gbl...
 >
 > it works now
 > Thank you guys
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP pages forbidden in IIS 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 8) Posted: Sat Jan 22, 2005 2:17 am
Post subject: Re: ASP pages forbidden in IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

Your log file tells you that the error is 800a0401 "Excepted end of
statement". This is a problem in your code, and not related to IIS.

This page have some suggestions:

<a style='text-decoration: underline;' href="http://www.aspfaq.com/show.asp?id=2363" target="_blank">http://www.aspfaq.com/show.asp?id=2363</a>

If it does not solve your problem, i can recommend you to post to the
newsgroup for ASP:

microsoft.public.inetserver.asp.general

--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My articles and help
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>


Lam wrote:

 > sorry to bother again
 > after I enable the parent paths
 > I was able to display more asp pages
 > but there is still some ASP pages that still experienceing difficulties
 > the following is the message from log file
 >
 > 2005-01-21 19:16:48 192.168.2.169 GET /members/validation.asp auto=true
88 -
 > 192.168.2.169
 > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322)
302 0
 > 0
 > 2005-01-21 19:16:48 192.168.2.169 GET /members/index.asp
  > > 12|800a0401|Expected_end_of_statement 88 - 192.168.2.169
 > Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322)
500 0
 > 0
 >
 > Can any tell me what's wrong?
 >
 > thanks a lot
 >
 > "Lam" <javabeanbean RemoveThis @hotmail.com> wrote in message
 > news:esvdav0$EHA.1452@TK2MSFTNGP11.phx.gbl...
  > >
  > > it works now
  > > Thank you guys
  > >
  > ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP pages forbidden in IIS 
Back to top
Login to vote
user1772

External


Since: Jun 10, 2004
Posts: 1807



(Msg. 9) Posted: Sat Jan 22, 2005 11:35 am
Post subject: Re: ASP pages forbidden in IIS [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 21 Jan 2005 14:24:43 -0500, "Lam" <javabeanbean RemoveThis @hotmail.com>
wrote:

 >sorry to bother again
 >after I enable the parent paths
 >I was able to display more asp pages
 >but there is still some ASP pages that still experienceing difficulties
 >the following is the message from log file
 >
 >2005-01-21 19:16:48 192.168.2.169 GET /members/validation.asp auto=true 88 -
 >192.168.2.169
 >Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) 302 0
 >0
 >2005-01-21 19:16:48 192.168.2.169 GET /members/index.asp
 >|12|800a0401|Expected_end_of_statement 88 - 192.168.2.169
 >Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) 500 0
 >0
 >
 >Can any tell me what's wrong?

Yep. The line that says:

|12|800a0401|Expected_end_of_statement 88 - 192.168.2.169

Tells you what's wrong. Fix the code. Post the code in an ASP group
if you need help, and comment out the "On Error Resume Next" that's
preventing you from seeing the error.

Jeff<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ASP pages forbidden in IIS 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
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 ]