Ftp Error Cannot Read Configuration File Due To Insufficient Permissions
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings 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 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 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:
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings 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 Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody http://stackoverflow.com/questions/5615296/cannot-read-configuration-file-due-to-insufficient-permissions can answer The best answers are voted up and rise to the top IIS 7.5, on Windows 7, IIS User can't log in, “Cannot read configuration file due to insufficient permissions” up vote 0 down vote favorite 1 I am "experimenting" with Microsoft Internet Information Services 7.5, on a Windows 7 OS, as an FTP site. I have created a FTP-site, called "Opta-site", and, http://serverfault.com/questions/538217/iis-7-5-on-windows-7-iis-user-cant-log-in-cannot-read-configuration-file-du enabled "Anonymous Authentication", "Basic Authentication", "IisManagerAuth" and "AspNetAuth". FTP User Isolation is not enabled (i.e., all users go straight to ftproot). I have then tried connecting anonymously, and, it works. Then, I created one IIS user (User name: "Opta", Password "ThePassword"), using, what I believe is, the Microsoft .Net API(?), using the following commands, in Power Shell [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Web.Management") [Microsoft.Web.Management.Server.ManagementAuthentication]::CreateUser("Opta", "ThePassword") [Microsoft.Web.Management.Server.ManagementAuthorization]::Grant("Opta", "Opta-site", $FALSE) And, back in the IIS Manager UI, enabled an "Allow Rule", for User "Opta", to have read and write permissions at the ftp root. Now, when I connect, using, e.g., filezilla, or, windows ftp, I get: Status: Connecting to 192.168.178.20:21... Status: Connection established, waiting for welcome message... Response: 220 Microsoft FTP Service Command: USER Opta Response: 331 Password required for Opta. Command: PASS *********** Response: 530-User cannot log in. Response: Win32 error: Access is denied. Response: Error details: Filename: \\?\C:\Windows\system32\inetsrv\config\redirection.config Response: Error: Cannot read configuration file due to insufficient permissions Response: Response: Response: 530 End Error: Critical error Error: Could not connect to server Is this a windows issue (i.e., set windows permissions, on that file "C:\Windows\system32\inetsrv\config\redirection.config")? Or, something else? I have seen other people have this/similar iss
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/Configuration and Deployment/cannot read configuration file due to insufficient http://forums.asp.net/t/1929969.aspx?cannot+read+configuration+file+due+to+insufficient+permissions permissions cannot read configuration file due to insufficient permissions [Answered]RSS https://www.youtube.com/watch?v=JFbv-5k9yCw 6 replies Last post Aug 20, 2013 09:27 PM by Merna ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Reply Merna Member 7 Points 10 Posts cannot read ftp error configuration file due to insufficient permissions Aug 18, 2013 11:11 PM|Merna|LINK hi all i have one trouble with IIS when i trying open connection. this error "cannot read configuration file due to insufficient permissions" "detail : filename:\\?\C:\windows\system32\inetsrv\config\redirection.config . error:cannot read configuration file due to insufficient permissions". if i open config folder, i ftp error cannot dont have any access to open it. so tell me how to solve this error ?? but i have permission in my web folder. thanks merna config iis Reply A2H All-Star 44663 Points 8274 Posts Re: cannot read configuration file due to insufficient permissions Aug 18, 2013 11:15 PM|A2H|LINK Hi, Try to Add "IIS_IUSRS" with Read permission to particular folder. Please refer the following links http://vivekthangaswamy.blogspot.com/2009/07/aspnet-website-cannot-read.html http://kenno.wordpress.com/2008/10/23/iis7-cannot-read-configuration-file-due-to-insufficient-permissions/ http://social.msdn.microsoft.com/Forums/vstudio/en-US/e5b30d8b-beec-4ce3-86ee-dc49b715b97d/cannot-read-configuration-file-due-to-insufficient-permissions config iis Thanks, A2H My Blog | Linkedin Reply jats_ptl Star 12641 Points 2377 Posts Re: cannot read configuration file due to insufficient permissions Aug 18, 2013 11:18 PM|jats_ptl|LINK Hi Merna, Please try various trobleshooting methods from the following link: Web Deploy Error Coded - IIS or else: You need to give permission toC:\Windows\System32\inetsrv\configfolder toNetwork Serviceuser. Hope this helps. Thanks, Jatin config iis Reply dyyo Participant 1100 Points 400 Posts Re: cannot read configuration file due to insufficient permissions Aug 19, 2013 12:38 AM
Du siehst YouTube auf Deutsch. Du kannst diese Einstellung unten ändern. Learn more You're viewing YouTube in German. You can change this preference below. Schließen Ja, ich möchte sie behalten Rückgängig machen Schließen Dieses Video ist nicht verfügbar. WiedergabelisteWarteschlangeWiedergabelisteWarteschlange Alle entfernenBeenden Wird geladen... Wiedergabeliste Warteschlange __count__/__total__ Solving Config Error Cannot read configuration file due to insufficient permissions Ming Dynasty AbonnierenAbonniertAbo beenden125125 Wird geladen... Wird geladen... Wird verarbeitet... Hinzufügen Möchtest du dieses Video später noch einmal ansehen? Wenn du bei YouTube angemeldet bist, kannst du dieses Video zu einer Playlist hinzufügen. Anmelden Teilen Mehr Melden Möchtest du dieses Video melden? Melde dich an, um unangemessene Inhalte zu melden. Anmelden Statistik 17.750 Aufrufe 9 Dieses Video gefällt dir? Melde dich bei YouTube an, damit dein Feedback gezählt wird. Anmelden 10 21 Dieses Video gefällt dir nicht? Melde dich bei YouTube an, damit dein Feedback gezählt wird. Anmelden 22 Wird geladen... Wird geladen... Wird geladen... Die Bewertungsfunktion ist nach Ausleihen des Videos verfügbar. Diese Funktion ist zurzeit nicht verfügbar. Bitte versuche es später erneut. Hochgeladen am 14.09.2011Solving Config Error Cannot read configuration file due to insufficient permissions Kategorie Wissenschaft & Technik Lizenz Standard-YouTube-Lizenz Mehr anzeigen Weniger anzeigen Wird geladen... Autoplay Wenn Autoplay aktiviert ist, wird die Wiedergabe automatisch mit einem der aktuellen Videovorschläge fortgesetzt. Nächstes Video insufficient privileges Problem solved - Dauer: 7:21 BunHong Hak 48.915 Aufrufe 7:21 Fixing Error HTTP Error 500.19 error when you open an IIS 7.0 Webpage - Dauer: 6:01 Kadem Mohamed 711 Aufrufe 6:01 Fix Failed - Blocked Download Error in chrome - Unblock File Downloads - Dauer: 1:23 troubleshooterrors 983 Aufrufe 1:23 Quick start: Hosting your ASP.NET Website in IIS - Dauer: 6:20 Michael Kennedy 112.921 Aufrufe 6:20 How to fix "insufficient privileges to access this directory" error - Dauer: 2:23 furulevi 51.696 Aufrufe 2:23 Failed to read the configuration file - Dauer: 2:10 SHAH JALAL MD TAREK 1.909 Aufrufe 2:10 Setting up a web server with IIS - Dauer: 7:07 HellHoundAdmin 125.517 Aufrufe 7:07 How to set up a web server using IIS (Internet Information Services) - Dauer: 16:4