I don't think that is the issue. It's not a problem with accessing web.config as such. It's the modules section in <system.webserver> section that can not be processed, for some yet unknown reason :-)
You might still be using an old web.config, try the .net 3.5 version that's now included in umbraco 4.0.4.1. Just make a backup of your current web.config, copy the new one in the root and follow the setup wizard.
Your application pool should be configured to use integrated pipeline. I usually change the application pool user to "NETWORK SERVICE" as well (don't forget to update permissions on the appropriate folders where "NETWORK SERVICE" will now need additional access).
Problem moving site to Win 7
I have tried to make a copy of a Umbraco 4.2.0.1 site work on my Windows 7 PC.
I succesfully got the database restored.
I copied the entire wwwroot folder structure.
I changed the Default app pool identity to Networkservice.
I gave networksevice full control to the usual folderes.
I changed the Default app pool to run in integrated mode.
I enabled the "IIS 7" settings section in the web config file, (and commented out the old, of course)
But whenever i try to start the site (type localhost in browser) i get an error 500.19
"Page can not be loaded because the configuration data are invalid" (Approximated translation from Danish)
It is the <modules> section in the <system.webserver> area of the web.config file that is causing the problem.
The details iof the (danish) errormessage say something like "This configuration section can not be used because it is locked at a higher level...."
Does anybody know what i need to change in my IIS configuration or whatever to fix this?
Thanks
Mikael
Hi Mikael,
Have you tried setting the app pool to classic mode? I tend to have to run my umbraco instances under IIS7 in classic mode.
Many thanks
Matt
That being said, that may just be a flaw in my setup, but worth a try.
Matt
Hi Matt
Thanks for your suggestion, i tried it but unfortunately the problem remains the same.
Mikael
Hi Mikael,
A quick search on google threw up the following, maybe this will be of assistance?
http://elczara.spaces.live.com/blog/cns!554EC06D366AC9D5!244.entry
Many thanks
Matt
Hi Matt
I don't think that is the issue. It's not a problem with accessing web.config as such. It's the modules section in <system.webserver> section that can not be processed, for some yet unknown reason :-)
Mikael
How about this?
http://learn.iis.net/page.aspx/113/getting-started-with-iis-manager/#Configuration
Many thanks
Matt
That looks interesting. I will digg into that and report back.
Mikael
Hi Mikael
How'd you get on?
Matt
Hi there.
Just been away for a couple of days.
No luck so far. The system does not allow the modules section in web config to load the modules in it.
I have no idea what's going on.
I installe Umbraco on another win 7 machine, with the web deployment one click installer and had no problems.
So i must be because i copied my site from another machine somehow.
Mikael
You might still be using an old web.config, try the .net 3.5 version that's now included in umbraco 4.0.4.1. Just make a backup of your current web.config, copy the new one in the root and follow the setup wizard.
Your application pool should be configured to use integrated pipeline. I usually change the application pool user to "NETWORK SERVICE" as well (don't forget to update permissions on the appropriate folders where "NETWORK SERVICE" will now need additional access).
is working on a reply...