An update - I have taken a shared config IIS server and reverted it back to local config and I still get the problem. On all our other IIS 7 servers (which have never had shared config) the command works perfectly. So the shared config thing
might be a red herring.
Next step - to try and recreate the problem on new servers by rebuilding step by step.
In the meantime, if anyone has any insights they would be gratefully received.
15 Posts
Re: 'Object reference not set to an instance of an object' error in IIS Powershell
May 29, 2009 10:50 AM|Mike C|LINK
An update - I have taken a shared config IIS server and reverted it back to local config and I still get the problem. On all our other IIS 7 servers (which have never had shared config) the command works perfectly. So the shared config thing might be a red herring.
Next step - to try and recreate the problem on new servers by rebuilding step by step.
In the meantime, if anyone has any insights they would be gratefully received.