Machine.config and ASP.Net 4.0

Sep 23, 2010 at 6:59 PM


So I have managed to get error logging working with web.config for a website (running ASP.Net 4.0/IIS7)...

However, I would really like to use machine.config, but I have been unable to make that work. 

When I am using ASP.Net 4.0, I need to edit the C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config

I input the very same lines as I use in web.config, but it does not work.

What am I missing here?

Sep 27, 2010 at 12:40 PM

Is this a 64 bit machine?

if so, the configuration file should be C:\Windows\Microsoft.NET\Framework 64\v4.0.30319\Config\machine.config

Sep 27, 2010 at 1:15 PM

No, I thought of that - it is a 32bit win7...