An Error Occurred Loading A Configuration File Machine.config
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 machine.config' is denied up vote 3 down vote favorite 1 My application is running on windows server 2000 and IIS 6. Up until this morning the application was working fine. But now I'm getting the error below: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: An error occurred loading a configuration file: Access to the path 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Config\machine.config' is denied. Source Error: [No relevant source lines] Source File: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Config\machine.config Line: 0 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272 Does anyone know what's going on? .net iis-6 machine.config share|improve this question edited Feb 16 '12 at 7:18 Kurtis Nusbaum 21.2k75179 asked Feb 16 '12 at 6:26 slash shogdhe 1,49621535 are the automatic updates enabled on the server? Any changes in server or the network on which the server lies? contact your hosting company... –Naveed Butt Feb 16 '12 at 6:30 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Check that the account which the application pool is running under has access
Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > machine.config file access http://stackoverflow.com/questions/9306542/machine-config-is-denied issues Want to Advertise Here? Solved machine.config file access issues Posted on 2012-03-28 Windows 7 Visual Basic.NET WCF 1 Verified Solution 2 Comments 3,314 Views Last Modified: 2012-04-28 I receive the following error when I try and install an application from a web server. I have changed permissions to the https://www.experts-exchange.com/questions/27652333/machine-config-file-access-issues.html file and file location and I have have chnaged the ownership of the directory. No of that resolves my issue. This app works when I pog in ot the computer as an administrator, but it will not run when I log in as an average user. PLATFORM VERSION INFO Windows : 6.1.7601.65536 (Win32NT) Common Language Runtime : 4.0.30319.261 System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100) clr.dll : 4.0.30319.261 (RTMGDR.030319-2600) dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100) dfshim.dll : 4.0.31106.0 (Main.031106-0000) SOURCES Deployment url : http://vm-ossirms/SunGard.PS.IJS.OS/SunGard.PS.IJS.OS.application ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://vm-ossirms/SunGard.PS.IJS.OS/SunGard.PS.IJS.OS.application resulted in exception. Following failure messages were detected: + Configuration system failed to initialize + An error occurred loading a configuration file: Access to the path 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config' is denied. #C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config# + Access to the path 'C:\Windows\Microsoft.NET\Framework
machine.config on Win7 x64 Access denied to machine.config http://ultidev.com/forums/yaf_postst912_Access-denied-to-machine-config-on-Win7-x64.aspx on Win7 x64 Options Previous Topic Next http://my-pc-hates-me.blogspot.com/2014/10/access-denied-to-net-folders-when.html Topic neptunesystems2 #1 Posted : Sunday, March 11, 2012 8:21:47 PM(UTC) Groups: Member Joined: 3/11/2012(UTC)Posts: 4 Hi team,I'm currently testing my ASP.NET 4 app on Win 7 x64, and it's an error unable to run. My installer registers the app by command-line, and after it is registered, the host process continually logs to the Windows Application Event Log the following error:Log Name: ApplicationSource: UWS Host UWS.AppHost.Clr4.AnyCPUEvent ID: 0Task Category: an error occurred NoneLevel: ErrorKeywords: ClassicUser: N/ADescription:UltiDev Web Server host process ""C:\Program Files\UltiDev\Web Server\UWS.AppHost.Clr4.AnyCPU.exe" 9000b55f-4cab-4292-8c90-81d3d162bb18" has failed due to"System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config) ---> System.UnauthorizedAccessException: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName, Boolean assertPermissions) at System.Configuration.BaseConfigurationRecord.InitCo
unto the point where we had to process the cube. When trying to process, it failed immediately. The error was: "Errors in the high-level relational engine. The following exception occurred while an operation was being performed on a data source view: Configuration system failed to initialize;An error occurred loading a configuration file: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config) Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied.." Access to path? Easy-peasy fix... except it wasn't. I added the service accounts to the admin groups, gave the folders explicit permissions, no joy. Suddenly I felt very silly - such a simple looking problem, and I can't get it sorted? Google yielded no help... So, out of desperation, I yielded to my AD Admin days, and thought what I would do then... So, to resolve: Reset the permissions of the service accounts Added the service accounts to a group with the right permissions Changed the SQL and SSAS Service accounts to my own account Stop and restart the SQL & SSAS Services Changedthe SQL and SSAS Service accounts back to the Service Accounts Stop and restart the SQL & SSAS Services Voila, it worked :) Posted by Zanoni Labuschagne at 10:04 PM Labels: .Net, Access Denied, Analysis services, Cube, Labuschagne, Process, SQL, Zanoni No comments: Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) Blog Archive ► 2015 (1) ► December (1) ▼ 2014 (7) ► December (1) ► November (1) ▼ October (4) Analysis Services Unknown Role that already exists... Changing the ID of a cube TimeXtender deployment still references old serve... Access Denied to .Net folders when processing a SQ... ► August (1) ► 2013 (1) ► October (1) ► 2012 (1) ► September (1) ► 2011 (1) ► September (1) ► 2010 (2) ► February (1) ► January (1) ► 2009 (4) ► August (1) ► June (3) ► 2008 (8) ► August (1) ► July (1) ► May (4) ► April (1) ► January (1) ► 2007 (2) ► November (2) What is Best Practice ? About Me Zanoni Labuschagne Being in IT for more than 15 years, I have seen things come and go. Somehow (aft