Solved

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

Posted on 2015-02-23
10
246 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JQuery to parse xml string and get element by id 4 47
SharePoint Explorer Folder Access 4 51
Passing Parameter to Stored Procedure 4 27
Html CheckBox obtain Its Value 5 27
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 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