Solved

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

Posted on 2011-02-14
5
1,468 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

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

Author Comment

by:hendricksonHelp
ID: 34890104
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
ID: 34890134
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
ID: 34890193
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
ID: 34890301
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

691 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