CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
IIS - Unable to connect to server - Cannot read from configuration file due to insufficient permissions
- Article ID:
220 - Date Created
Wednesday, March 18, 2020 - This Article Has been Viewed
454 times - Short Desc
When assigning a new identity to an AppPool, you may encounter the insufficient permissions error if the user assigned does not have the right to read from the wwwroot folder. - Details
When assigning domain users the right to interact with a web server, you have to make sure they have the appropriate permission to access specific top-level folders. In this case, we are working with the wwwroot.
Assigning a domain-user to an application pool (or) AppPool Identity is something not enough. Depending on what the web application needs to do, it will depend on what rights assigned to the domain-user.
In this article, we will go over how to recreate the subject error, and then how to resolve it. - Recreate Issue
Recreate this issue.
In IIS - Application Pools
Choose an AppPool and click on [Advance Settings]
Choose [Identity] = Click on the ellipse button beside the [ApplicationPoolIdentity][...]
Click on [Custom account] then click [Set...]
Type in the: domainname\domainuser
Type in the password, then confirm the password.
Click [OK] then [OK] and then [OK] to close out of the [Advance Settings] dialog box.
Go into the IIS Server that you want to use to connect to this server with, and choose to connect a server.
Right Click on the [Start Page]
Choose [Connect to a Server...]
Type in the [Server Name]
Click [Next]
Type in user name: domainname\domainuser
Then the password.
Click on [Next]
You should see the following messageFailed to connect
There was an error when trying to connect. Do you want to retype your credentials and try again?
Details:
Filename: MACHINE/WEBROOT
Error: Cannot read configuration file due to insufficient permissions.
[Yes] [No] - Resolve Issue
Resolve this issue.
Make sure you assign the appropriate roles to the user inside of [Active Directory Users and Computers] on the DC (Domain Controller)
The below list is what we use in our Domain for all our users.
Simply copy these, and paste into the [Select Groups] dialog under: [Enter the object names to select] field
Administrators; DnsAdmins; Domain Admins; Domain Computers; Domain Controllers; Enterprise Admins; Remote Desktop Users; Schema Admins; Server Operators; IIS_IUSRS
Click OK, [Apply], then [OK] to close out of the dialog.
Next, go into the web servers WEB drive.
example of mine:
G:\Inetpub\
Right Click on [wwwroot]
Choose [Properties]
Click on the [Security] tab
Click on the [Advanced] button on the bottom right.
On the top of the dialog box, click on [Change] for the owner.
Type in the domainuser you set up with the permissions above.
Click on [OK]
Then click on [Apply]
(Click OK on the question asked)
Then click [OK] then [OK] again to close out of the wwwroot properties dialog.
Now...
Go into the IIS Server that you want to use to connect to this server with, and choose to connect a server.
Right Click on the [Start Page]
Choose [Connect to a Server...]
Type in the [Server Name]
Click [Next]
Type in user name: domainname\domainuser
Then the password.
Click on [Next]
Click [OK] on the Certificate not being the correct one for this server.
Click on [Finish]
You should now be able to administer your webserver from this server.
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24695
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16825