Solved

Linked pages in classic ASP site getting 403 permission denied in IIS 7

Posted on 2015-02-23
10
273 Views
Last Modified: 2015-02-25
Hi,

I host a website that to my recollection used to work in the Windows 2008 server I placed it on.  It is a very old classic ASP site that uses almost none of the ASP functionality.  I think they originally used it for the %inc functionality.

The main page (index.asp) loads fine.  But when anyone clicks on a link off the main page, they get a 403 - Forbidden: Access is denied message.

I turned on failed request tracing and nothing showed up.  

Any suggestions on where to look?

Thanks!

--Ben
0
Comment
Question by:Ben Conner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 37

Expert Comment

by:bbao
ID: 40627420
for me it sounds like a NTFS permission issue of the web pages on IIS.

please check their source folder, including all files and sub-folders, make sure anyone (anonymous) can access the pages under IIS and everyone has read rights to the files on NTFS.
0
 

Author Comment

by:Ben Conner
ID: 40627923
Just checked and while all the files didn't have universal read permissions, they all were identical to the index.asp file.  I went ahead and gave all files/folders read permission for everyone.  No change.

--Ben
0
 
LVL 33

Accepted Solution

by:
Big Monty earned 500 total points
ID: 40627979
Make sure that you give the IUSR and NETWORK SERVICES access to the files in which the files reside in
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Ben Conner
ID: 40628229
Thanks. Will have to check that later today when I get back to the office.
0
 

Author Comment

by:Ben Conner
ID: 40629850
Added both of those with read access and got the same thing.  

This is probably more trouble to figure out than it would be to copy the site into Dreamweaver and stripping out the html from the .asp files.  Let me give that a shot and see how far I get with it.

--Ben
0
 
LVL 37

Expert Comment

by:bbao
ID: 40629914
> Added both of those with read access and got the same thing.

do you mean the permissions were not applied to IIS / NTFS before adding them?
0
 

Author Comment

by:Ben Conner
ID: 40630317
They were not; I did apply them and got the same thing.  

I was able to duplicate the site by copying the content of the ASP pages to standard html pages with no loss of functionality, so this is not an issue now.

Thanks for your assistance on this one!

--Ben
0
 
LVL 37

Expert Comment

by:bbao
ID: 40631031
> They were not; I did apply them and
got the same thing.

that's interesting. better check the service properties of IIS to make sure they are default settings (IUSR and
NETWORK SERVICES) and compatible with your NTFS permission settings. you may run "services.msc" to check that.

> this is not an issue now

so the problem was solved yourself?
0
 

Author Comment

by:Ben Conner
ID: 40631071
Yes, by avoiding the issue entirely. Not the best approach but was doable in this instance.

Thanks!

Ben
0
 
LVL 37

Expert Comment

by:bbao
ID: 40631568
good on you. so you may now close the question by accepting the most helpful comments including yours.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question