Error Parsing (Net Framework) (Msg Box keeps appearing on Startup)

Error Parsing C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config

Keep getting this error box when windows 7 starts up.. Win 7 Professional.. This message started happening after i added end user to the domain... was reading it may be a permissions problem, but the domain admin wouldn't/shouldn't have set up the users like this.. I never had this problem before and I add users to the domain almost on a daily basis, i do a lot of wipe/reloads... Any questions, feel free to ask.. Where would i check the permissions? would it be on the actual folder above where machine.config is located at.... i'll check that now....
Keith WatkinsImplementation SpecialistAsked:
Who is Participating?
Yeah, permissions error.

Read this thread

Solutions that worked involved giving Full Control or Inheritable Permissions from Objects Parent.  These are down at bottom of thread but read entire thread first.
Well, I'm not sure I can help, but what does the message box say?  You can check file perms graphically, or from the command prompt using cacls.exe (filenamehere) or the newer icacls.exe. Or you can look graphically. I'd look at the file and the folder permissions.  Without knowing what the message says it is hard to say what is wrong.
Keith WatkinsImplementation SpecialistAuthor Commented:
Here is a picture of it...

This is other error box
there they are.... This happens after i install IBM's Client Access....
Keith WatkinsImplementation SpecialistAuthor Commented:
well what i did to fix the issue was first remove client access then .net from programs/ Programs and Features / turn windows features on/off and unchecked net framework... then after that i then removed .net framework 4.5 from uninstall programs and reboot... ran net framework clean up tool... reboot again, then went and downloaded .net 4.5.2 from msft site... reboot, then ran updates, it picked up some .net updates... reboot again... then reinstalled IBM client access and all seems well... But i think your way may have saved me time, cause im pretty sure thats what it was... thanks, im gonna give u the points regardless... Either way, if someone has issues your fix or my fix will help them... Thanks again...
Rochelle AdsittIT DirectorCommented:
Here's what I do - works every time:

From an Admin level Command Prompt, enter the following:

      icacls "C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config" /inheritance:e
Note: if the computer uses Framework64, the command needs to be adjusted as follows:

      icacls "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config" /inheritance:e

These days I usually run both, just in case.

It seems as though certain software installations somehow strip the permissions off the machine.config file. Executing the above commands restores the permissions as needed.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.