Access to Sitecore's Update Installation Wizard - iis

I'm trying to upgrade Sitecore version, but I can't get access to Update Installation Wizard page by following url:
[site name]/sitecore/admin/updateinstallationwizard.aspx
"401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied."
I have found following note regarding the Wizard:
"Make sure that IIS is configured to allow access to the /sitecore/admin folder. "
I have provided full access to this folder for appropriate user, but it doesn't work anyway.

I have solved this issue. Here is solution:
Find your site in IIS, move to [site]/sitecore/admin folder in tree.
Click on "admin" folder and double click on "Authentication" menu.
Enable "Anonymous Authentication".

Related

Apache Tomcat 9 "webapps" security permition

our manager request for web service security issues.
our system consist of IIS with Tomcat on Windows Server 2016.
manager guide that need to remove "Everyone" permission for "webapps" of Tomcat folder.
so i remove "Everyone" user into "Security" tab of foler "webapps" properties.
after that, show the "500" error page when end user access to our site.
i do not know why removing "Everyone" group or user created "500" page error.
and how can i fix this error after removing "Everyone".
please help me and tell solutions !!

IIS gives 'Access to the path is denied' - NopCommerce

I'm trying to deploy a NopCommerce application on the IIS server. But I'm getting permission errors.
Application startup exception: System.Exception: Plugin 'Eagle360 Dynamics 365 B2B Services'. Access to the path 'C:\inetpub\wwwroot\B2BDemo\Plugins\bin\Plugin.Dynamics365B2B.Services.dll' is denied.
Access to the path 'C:\inetpub\wwwroot\B2BDemo\Plugins\bin\Plugin.Dynamics365B2B.Services.dll' is denied.
I tried many user permissions. but still no luck.
UPDATE
Please follow below steps, and don't worry I just want know whether it will work fine if we use administrator account. If it works, we can make sure, you site and publish file is fine. And this problem is permission issue.
Please try to copy and paste the content to other Drive, like D:/ or E:/.
From your error message, it seems you need add Physical Path Credentials if you don't want to use other Drive.

IIS website needing permissions to modify own folder

I have a website I am setting up which creates a subfolder to its own location based on which user logs into the website. An administrative account we'll call admin runs the website through IIS Manager (as indicated through the basic and advanced settings on the site's tab in IIS, which indicate the credentials for admin are correct), and admin also has full security permissions to the folder that IIS refers to. The website is I think otherwise fully up and running because the login screen loads successfully. However, despite the fact that admin is both running the site and has full access to the folder, it is failing to create the folder and as such is failing to operate the website properly. I know it is this error because the website's error logging reports an UnauthorizedAccessException to the folder I would expect to be created.
Can anyone help me figure out why it is unable to create a folder in the website location? Thank you.
To fix issue, you can try to add the IIS AppPool user to the root folder of your application by right clicking the folder and selecting Properties. Select the Security tab and add the IIS AppPool<AppPoolName> user.
And you can also decide to create a custom user to access the file system from IIS. Create a new Windows (or AD) user and click your site inside the IIS Manager. From the Actions window click Basic Settings. Finally, click the Connect as button and input the new user below Specific user:

Why am I getting "File Not Found" when attempting to access ColdFusion Administrator?

I am in the process of installing and configuring ColdFusion 11 on IIS 8.5, using the instructions found in Pete Freitag's CF11 Lockdown Guide.
Everything is going fine until I get to section 2.16 - "Create Alias for /CFIDE/scripts". When I attempt to access the ColdFusion Administrator website at https://127.0.0.1/CFIDE/administrator/index.cfm, I get a "File Not Found" exception:
I have configured IIS to Deny access for all /CFIDE sub-directories (Request Filtering at the root), and removed /CFIDE/administrator from the Request Filtering URLs in the CF Admin IIS website.
I tried removing all /CFIDE sub-directories from the Request Filtering for the website, but this accomplished nothing.
It turns out there is one important step missing from Pete Freitag's wonderful ColdFusion 11 Lockdown Guide.
After running the Web Server Configuration Tool, which adds the CFIDE directory to each website, including your ColdFusion Administrator website, you need to grant permission on the CFIDE directory to the ColdFusion user account.
Right click on your {cfinstance.root}/wwwroot/CFIDE directory in Windows Explorer and select Properties.
Click on the Security tab then click Advanced.
Click the Add button
In the Permission Entry dialog click Select a principal.
Enter the ColdFusion user account as the principal.
Check Read & Execute, List folder contents, and Read and click OK.
Check the checkbox to Replace all child object permission entries with inheritable permission entries from this object.
Click OK to apply these permissions.
Did you add the following URL deny request filtering in IIS for the site where your CF admin is located:
/CFIDE/administrator
Try removing that entry, or create a new IIS site which points to the CF admin and ensure that /CFIDE/administrator is not added as URL deny entry to the IIS request filtering for your CF admin IIS site.

I'm installing an app where I have to give my app_code write permissions. EDIT: Error MSG included

I'm developing a site on a shared hosting company (asp.net/c#). I'm on a Windows 2012 server. I'm using IIS7. I'm trying to install blogengine.net, which requires the app_code folder to have write permissions.
I can find nowhere in my control panel where it lets me grant write permissions anywhere.
Likewise, I see no option for this in IIS7.
Can anybody offer me guidance on how to grant write permissions to the app_code folder if I'm with a shared hosting company? Thanks!
Here's what my shared hosting control panel looks like. But I thought there would be a way to grant write permissions via IIS7:
EDIT:
Here's my specific error:
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is
temporarily unavailable.
Most likely causes:
The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.
Things you can try:
Create the content on the Web server.
Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and see which
module is calling SetStatus. For more information about creating a tracing rule for
failed requests, click here.
Detailed Error Information:
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://domain.org:80/blog/account/login
Physical Path E:\web\controlpanelusername\htdocs\blog\account\login
Logon Method BlogEngine.NET Custom Identity
Logon User Anonymous
I just got an answer back from the hosting company and here's what they said:
"Your IIS and aspnet users are granted full set of permissions on your site root and all subsequent directories by default. Your and your web applications should be able to write to any directory. The permissions of those users cannot be altered, and that's why they are not listed in permissions manager. Permission manager is for additional users that you create in User/Quota Manager only. "
For anybody who has a similar issue, this may be a solution:
I had an IIS7 rewrite rule that was removing .aspx extensions. So if I went to domain.org/about.aspx, it would rewrite to domain.org/about
This was messing up the application I was trying to install. Removing this rewrite rule solved my issue.

Resources