?
Solved

iis authentication and configuration issue

Posted on 2012-08-24
2
Medium Priority
?
978 Views
Last Modified: 2012-08-25
1) installed iis 7.5 on a new server.
2) moved the root directory to new location, gave the new root direct read&execute permissions for IUSR. Tested it and I could view static pages okay.
3) installed activeperl, ran ap-iis-config add all, in iis manager, I see the new handlers for .pl files. It add a web.config file in the new root directory.
4) Now I can't run perl scripts or view static files. I get the error:

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module      IIS Web Core
Notification      Unknown
Handler      Not yet determined
Error Code      0x80070005
Config Error      Cannot read configuration file due to insufficient permissions
Config File      \\?\C:\Users\Administrator\Documents\mysite\web-site\web.config

How to fix it? This is mostly a static website with a couple of perl scripts. It is not a .net website/app.
0
Comment
Question by:freshgrill
2 Comments
 
LVL 3

Accepted Solution

by:
fjkaykr11 earned 2000 total points
ID: 38331613
I am not sure about your specific web app. But in the past when I had a similar error using a web application on IIS 7. I had to also ensure to configure other settings as well (this was for internal testing only, not for going live):
1. Handler Mappings:  Enabled
2. Authorization Rules: Allow specific user on your web app
3. Authentication:  Anonymous Authenication: Enabled
Also I know you gave authorization to the WWWRoot folder for IUSR, but in my case I also had to enable this for the Virtual Directory of the Web Application.  I know IIS 7 can be a challenge. Sorry I couldn't give more specific steps.
0
 

Author Closing Comment

by:freshgrill
ID: 38333026
Thanks, all that was done  but it still wasn't working. Finally, I just deleted the web.config file and now both static files and perl scripts are working.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

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…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

850 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