Solved

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

Posted on 2011-02-14
5
1,432 Views
Last Modified: 2012-05-11
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?
0
Comment
Question by:hendricksonHelp
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
Comment Utility
Check the permissions on the folder specified i.e. C:\Windows\Microsoft.NET\Framework\v2.0.50727\
0
 

Author Comment

by:hendricksonHelp
Comment Utility
Which user should have access to that folder?  I just tried the IIS user, but that didn't work either.
0
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 500 total points
Comment Utility
It depends on how IIS and your websites is set up. Do your websites allow anonymous access ? Are you using a domain account to log on to the computer or a local one.
I would try giving access to the above directory to everyone for now and see if that works then you can slowly restrict it again.
0
 

Author Comment

by:hendricksonHelp
Comment Utility
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
0
 

Author Comment

by:hendricksonHelp
Comment Utility
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.
0

Featured Post

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Join & Write a Comment

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now