Error Reading File Folder Ntfs Permissions Websitepanel
a problem with the WebsitePanel Filemanager. When clicking on the icon for the permissions of a file of folder I receive the following error in the Windows Event Viewer and in WSP I get a "Error reading file/folder NTFS permissions" error, all other features of the filemanager are working fine (browse/edit/etc). Log Name: WebsitePanel Source: WebsitePanel Date: 31-12-2011 13:50:29 Event ID: 0 Task Category: None Level: Error Keywords: Classic User: N/A Description: [12/31/2011 1:50:29 PM] ERROR: 'Windows Server 2008' GetGroupNtfsPermissions System.ArgumentNullException: Value cannot be null. Parameter name: sddlForm at System.Security.Principal.SecurityIdentifier..ctor(String sddlForm) at WebsitePanel.Providers.Utils.SecurityUtils.GetGroupNtfsPermissions(String path, UserPermission[] users, RemoteServerSettings serverSettings, String usersOU, String groupsOU) at WebsitePanel.Providers.OS.Windows2003.GetGroupNtfsPermissions(String path, UserPermission[] users, String usersOU) at WebsitePanel.Server.OperatingSystem.GetGroupNtfsPermissions(String path, UserPermission[] users, String usersOU) The WSP installation is a new clean components installation with 1 working website running on it. The Webserver is a Windows 2008 R2 64bit, 4x2.66Ghz, 4GB. Best Regards Hi, Actually, the situation Ke-i mentioned would cause the same error. However, in that case, there should be some other event log entries that indicates the missing site. To step into the code, first you need to download the latest version source code: http://websitepanel.codeplex.com/SourceControl/list/changesets Click the download under "Latest Version" to download the source code. Then following the below steps. 1. Open WebSitePanel.Server solution 2. Build the WebsitePanel.Server project(not soulution). 3. Navigate to the bin folder of server project, copy all the generated dlls and replace the ones in your live server application bin folder that is hosted on IIS(note: do a backup before you replace). 4. Run the following command "%windir%\system32\inetsrv\appcmd list wp", the output will look like WP "ProcessId" (applicationPool:WebsitePanel Server Pool). The P
after 3 seconds. Anti-Spam by CleanTalk
here for a quick overview of the site Help Center Detailed answers http://stackoverflow.com/questions/5615296/cannot-read-configuration-file-due-to-insufficient-permissions to any questions you might have Meta Discuss the workings https://www.bluevalleytech.com/techtalk/blog/assigning-ntfs-folder-permission-to-iis7-application-pools/ and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the error reading Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cannot read configuration file due to insufficient permissions up vote 206 down vote favorite 54 I've recently encountered an error trying to host error reading file my asp.net site with IIS. I have found a solution that many swear by. Solution: Add IIS_IUSRS with Read permission on files in the folder Change IIS authentication method to BasicAuthentication refresh the website. It will work (http://vivekthangaswamy.blogspot.com/2009/07/aspnet-website-cannot-read.html) What do I add to my web.config file though? I've never had to edit it before. Here is its current contents:
IIS Server 7.0 and up offers a lot of new features in regards to application security. One of the new features is the ability to assign each of your ASP.NET applications their own isolated Application Pool. This adds a lot of additional security because now we can also assign NTFS permissions for folders on a per application basis. This is a good thing because now when you need to give your ASP.NET application permission to read or write data to a particular folder, you don't have to automatically allow every other ASP.NET app on the same server to do so as well. When developers that are new to IIS 7 first try to run an app they may get the error: Access to the path 'C:\inetpub\MyWebSite\App_Data\MySiteData.xml' is denied. This used to be fixed by simply adding the NetworkService account to the folder permissions . While it is still possible to configure your application to use the NetworkService account, it should be avoided. This older method does not allow you to assign folder permissions for ASP.NET on a per application basis. When you create a new ASP.NET application in IIS it now will by default automatically create a new IIS App Pool with the same name and then assign it to that application. If this application will require ASP.NET code to be able to create or modify files on the server you will need to give it permission. The App_Data is one folder that often that often needs create & modify access. NOTE: The instructions below are intended for Windows Server 2008 R2. If you need help with Windows Server 2008 go here, and here for Windows Server 2003. You cannot currently browse for your new IIS App Pool account in the GUI, however you can still assign the folder permissions by typing IIS APPPOOL\YourAppPoolName in the Select User or Groupsdialog box which is accesible by clicking Add... Once the account is listed, assign the permissions just as would do before with the