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?
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.
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?
What version of umbraco are you running?
Regards
Ismail
Hi Ismail,
It's running version 4.7.1.
BR,
Steffen
In iis7 the app pool is it running under .net40 integrated? Also what account is the app pool running under?
Regards
Ismail
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
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
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
Can anyone think of another solution?
Regards,
Steffen
is working on a reply...