I have ActivePerl64 5.16.1 installed alongside IIS7 - iis-7

I have ActivePerl64 5.16.1 installed alongside IIS7 on SBS2008
When i browse the site i get a 403 permission error.
I have checked all the permissions on the site root folder and all the logon credentials.
if i turn all directory browsing on, i can browse the folder, one level up.
the site is an instance of OTRS.
any help gratefully received.

You should make sure IIS_IUSRS has 'owner' permissions on the OTRS folder, this way you actually have permissions to see the contents in the OTRS folder, and it allows you to install packages as well.

Related

Restore Permissions for IIS inetpub folder

I recently changed the permissions on the inetpub folder for IIS to allow me to share the folder on the network, and since then, all of my IIS sites are failing with either 500.19, or, if I switch the application pool identity to LocalSystem, error 401.3. Based on what I’ve read about these errors, it appears that one or more components of IIS don’t have the correct permissions to access the inetpub folder. I’ve given full control permissions to every user group in the security dialogue for the folder (System, Administrators, Users, and Trusted Installer), but it hasn’t rectified the issue. I have noticed that FTP is functional, this only seems to affect my ASP.NET sites.
How can I restore the default permissions to this folder? Or is there another cause I am overlooking? Thank-you for your help.
The solution was to edit the permissions on the wwwroot folder so that user IIS_IUSRS had read/write permissions. I’m guessing that I accidentally overwrote all of the permissions on the folder when I shared it on my network.

How to delete folder from previously deleted Web App under IIS 8.5 Default Web Site?

Help - I can't delete a folder that used to be a virtual folder in IIS 8.5.
I'm developing the install portion of a web app on IIS 8.5 (Windows Server 2012R2), and have run into a situation where I'm unable to get rid of a folder that was installed for the app. I have deleted the app, the app pool, and the virtual directory, tried to recreate virtual directory, tried to convert to app and back. Nothing I've tried has worked.
Trying to delete the folder in File Explorer, I get "You require permission from Administrators to make changes to this folder". My user is member of local administrators on the server (my user is in a trusted domain, the server is in our test domain). If I try to clear the Read-only flag, I get Access Denied, but with the option to Continue as Administrator, but still can't proceed.
I've tried stopping the Server in IIS Manager, stopping the services (W3SVC, AppHostSvc, and WAS), but to no avail.
I need to be able to test my install by repeating it (both the first-time install steps, and the Web Deployment Package install).
After rebooting the server, I was able to delete the folder using File Explorer. Apparently, it was in some invalid "state".

Web configuration file being accessed in the wrong folder

I have deployed an asp.net website on a production server. It is working on my local but on the server I get this error:
An error occurred loading a configuration file: Failed to start
monitoring changes to
'E:\HostingSpaces\xxxxx\xxxxxx.xxxxxx.com\wwwroot\admin\web.config'
because access is denied
This looks to me that the app is looking for the web.config in the admin folder while it is obviously in the root.
How is this possible? How do I solve this problem?
IIS which is hosting ASP.NET is looking for a potential web.config file in every folder of your site, not just in the root folder.
This is because you may want to override certain settings for just one folder.
So you may have a web.config in admin but IIS hasn't got access to it, or IIS hasn't got access to the whole admin folder.
Check the permissions on that directory.
The problem is that the directory it has been deployed to does not have the correct read/write permissions for IIS to read the web.config.
Each website configured in IIS 6+ runs under a specific AppPool. That app pool runs under a specific user account, and it is that user account that needs read/write permissions to this directory.

what is a root directory in IIS 6 and How do I make one of my subfolder in ASP.NET website the root directory?

I need to integrate a third party plugin in my asp.net website. To install the plugin, they have mentioned this sentence, "Create an application through your IIS control panel with root directory at -(some path from my website folder)?".
I am not much aware with IIS and rarely worked with it. Though I tried every possible way I could do in IIS, I am not able to work it out. After installation, there is a test page provided by plugin which I have to run to check but when I run it, it shows this error.
"It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."
I searched this error too and found that it is because the two Web.Config file, one from the main project and another from plugin folder. The only way to work with this, is to make the plugin folder they specified as a root directory in IIS. Someone kindly tell me some easy steps to do this.
What I was doing is, in IIS6, I added New website with the main folder of my asp.net website, then I right click>add application and choose the given path, thought it would become root directory but it is not.
Help would be appreciated. Also note that, I have to put the plugin folder in my main website folder only. So, there are two web.config. I tried to rename one of them too, it solved the above error but gave another errors but I think main problem is of root directory. P.S they show me above error on web.config file of plugin folder on this sentence-
"Line 51:
< authentication mode="Windows" />"
Most of the times the root directory is C:\inetpub\wwwroot folder and "Default Web Site" on IIS Manager.
Open IIS Manager and under Sites there should be IIS websites and under it you will probably see Default website. You can see the root directory with Right click/Settings.
Copy your website files under this root directory.
And after copying folder to root folder you will see this folder under Default websites on IIS.
Right click your directory name on IIS and "Create Application", select correct .net framework.
It should be work. Good luck, if you need more help please give more details on your server IIS.

IIS - Acess denied when browsing a file

I have 2 folders under my application in IIS. When I right click on a file in folder 1 and click browse, I can see the file just fine (its a css file). When I do the same thing on a fie under folder 2 (also a css file). I get a
"ACCESS DENIED. It seems that you have tried to perform an operation which you are not permitted to perform.You cannot view this URL as a guest. You must login."
network traffic in IE and Chrome say 200.
Any help? I have no clue whats going on
SOLUTION
This is more of a I was dumb scenario as opposed to a solution. When the file was downloaded from a location to be moved into the folder, the file itself had the text "Access Denied....." in it. It had nothing to do with IIS. Once I fixed the download problem I got the correct file and moved it to the folder.
Is it possible that one of those folders is a virtual folder? If so then you need to set NT permissions for user running the application pool.
For example if your website and folder that works is under c:\inetpub\wwwroot\website1 but folder that doesn't work is a virtual folder under d:\some_other_folder\ then you need to open security settings for this folder and give permissions to system user running the application pool.

Resources