Link to home
Start Free TrialLog in
Avatar of hendricksonHelp
hendricksonHelp

asked on

Can't get the default IIS website to load in Win 7

I recently got a new work computer and I am running windows 7 Enterprise 64bit and IIS web server.  My old computer ran Windows 7 Professional 32bit and IIS web server.  I have some test web sites that I attempted to migrate over to my new computer from my old one. With a clean IIS install (no changes or anything other than the default stuff), I kept getting a 503 error when I go to "http://localhost/".

So I looked at the Application Event Viewer and it says:
"The worker process for application pool 'DefaultAppPool' encountered an error 'Cannot read configuration file due to insufficient permissions
' trying to read configuration data from file '\\?\C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config', line number '0'.  The data field contains the error code."

So I then went and checked permissions on the wwwroot folder by default, wwwroot folder has read & execute and list folder contents for the IISUser.

What do I need to change to make this work before I can even get started importing my old websites?
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Check the permissions on the folder specified i.e. C:\Windows\Microsoft.NET\Framework\v2.0.50727\
Avatar of hendricksonHelp
hendricksonHelp

ASKER

Which user should have access to that folder?  I just tried the IIS user, but that didn't work either.
ASKER CERTIFIED SOLUTION
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well, here is another wrinkle.  I just changed the default app pool from .net version 2 to .net version 4.  And at the same time I changed the .net framework for my computer to version 4 and now it works perfectly.  I need version 2 because my chart program only works on version 2..

As for Jacko's question, all the websites allow anonymous access, and I log into my computer through a domain account that has administrative privileges on my specific computer
Well, I went and gave everyone read permissions, and that seemed to fix the problem.  I guess I should have read the error more closely and it would have saved me some time.