Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 388
  • Last Modified:

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

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
Ben Conner
Asked:
Ben Conner
  • 5
  • 4
1 Solution
 
bbaoIT ConsultantCommented:
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
 
Ben ConnerAuthor Commented:
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
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
Make sure that you give the IUSR and NETWORK SERVICES access to the files in which the files reside in
0
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
Ben ConnerAuthor Commented:
Thanks. Will have to check that later today when I get back to the office.
0
 
Ben ConnerAuthor Commented:
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
 
bbaoIT ConsultantCommented:
> 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
 
Ben ConnerAuthor Commented:
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
 
bbaoIT ConsultantCommented:
> 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
 
Ben ConnerAuthor Commented:
Yes, by avoiding the issue entirely. Not the best approach but was doable in this instance.

Thanks!

Ben
0
 
bbaoIT ConsultantCommented:
good on you. so you may now close the question by accepting the most helpful comments including yours.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now