Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mikael Mørup 297 posts 326 karma points
    Jun 02, 2010 @ 09:55
    Mikael Mørup
    0

    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

     

     

     

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 02, 2010 @ 10:21
    Matt Brailsford
    0

    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

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 02, 2010 @ 10:25
    Matt Brailsford
    0

    That being said, that may just be a flaw in my setup, but worth a try.

    Matt

  • Mikael Mørup 297 posts 326 karma points
    Jun 02, 2010 @ 10:32
    Mikael Mørup
    0

    Hi Matt

    Thanks for your suggestion, i tried it but unfortunately the problem remains the same.

    Mikael

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 02, 2010 @ 10:36
    Matt Brailsford
    0

    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

  • Mikael Mørup 297 posts 326 karma points
    Jun 02, 2010 @ 11:16
    Mikael Mørup
    0

    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

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 02, 2010 @ 11:19
  • Mikael Mørup 297 posts 326 karma points
    Jun 02, 2010 @ 11:45
    Mikael Mørup
    0

    That looks interesting. I will digg into that and report back.

     

    Mikael

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Jun 03, 2010 @ 11:09
    Matt Brailsford
    0

    Hi Mikael

    How'd you get on?

    Matt

  • Mikael Mørup 297 posts 326 karma points
    Jun 07, 2010 @ 14:55
    Mikael Mørup
    0

    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

     

     

     

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Jun 07, 2010 @ 15:14
    Sebastiaan Janssen
    0

    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).

Please Sign in or register to post replies

Write your reply to:

Draft