Copied to clipboard

Flag this post as spam?

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


  • Steffen Jørgensen 14 posts 34 karma points
    Oct 21, 2013 @ 12:46
    Steffen Jørgensen
    0

    Migration af Umbraco to IIS7

    Hi everyone,

    I have taken over an Umbraco installation from a previous coworker. The server hosting the application must be shut down and therefore I'm migrating the application to a new server.

    The old server is running IIS6, but the the new server is running IIS7. When I try to open the site on the new server, I get a "Object reference not set to an instance of an object" exception. The YSOD does not provide much info on what's going wrong (see below). 

    When I run the application locally in Visual Studio it works like a charm. Do any of you have a clue to what is going wrong?

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Oct 21, 2013 @ 13:04
    Ismail Mayat
    0

    What version of umbraco are you running?

    Regards

    Ismail

  • Steffen Jørgensen 14 posts 34 karma points
    Oct 21, 2013 @ 15:18
    Steffen Jørgensen
    0

    Hi Ismail,

    It's running version 4.7.1.

    BR,

    Steffen

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Oct 21, 2013 @ 15:24
    Ismail Mayat
    0

    In iis7 the app pool is it running under .net40 integrated? Also what account is the app pool running under?

    Regards

    Ismail

  • Steffen Jørgensen 14 posts 34 karma points
    Oct 21, 2013 @ 16:34
    Steffen Jørgensen
    0

    The application is coming from a IIS6, so I set it to run in classic mode. I tried changing to integrated but I get the same error. 

    It is running under NetworkService. The other applications (not Umbraco) are set up the same way and they run fine. 

    BR,

    Steffen

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Oct 21, 2013 @ 17:34
    Ismail Mayat
    0

    Steffen,

    Open the app pool in iis7 and change the user its running under to application identity. Then change the version to .net4 integrated. See if that fixes it.

    Regards

    Ismail

  • Steffen Jørgensen 14 posts 34 karma points
    Oct 22, 2013 @ 09:30
    Steffen Jørgensen
    0

    Do you mean the user ApplicationPoolIdentity?

    I tried all the users in the dropdown (LocalService, LocalSystem, NetworkService and ApplicationPoolIdentity), but none of them work.

    Best regards,

    Steffen

  • Steffen Jørgensen 14 posts 34 karma points
    Oct 24, 2013 @ 07:48
    Steffen Jørgensen
    0

    Can anyone think of another solution?

    Regards,

    Steffen

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies