I’ve been using Vista (RC2) for a while [thanks Microsoft!!! :-)] and I quite like it, apart from the constant security prompts. As a unix/linux programmer as well, the contstant security prompts are not so bad. You come across that a lot on any restricted access/secure platform, it’s just that Vista is so… “in your face”… That said, I’m not going to be swapping to it permanently any time soon. I think I’ll wait till it matures a bit.
Anyway, I just spent 3 hours trying to get ASP.NET running on it under IIS 7 on Vista. It’s not as easy as it sounds as IIS 7 comes locked down pretty tight. After a lot of browsing around I finally worked out how to do it… and it turns out to be relatively simple. Just run the following command.
Simple yes… No… there is more! Because of Visita’s lovely new security model, running this command as a normal user does not work, and because it’s a command line it just gives you a nice [useless] message telling you it can not run the operation.
An error has occurred: 0x800702e4 The requested operation requires elevation.
So, create a shortcut to it, add the “-i” to the end of the command line in the shortcut. Then right click of the shortcut and select “Run as administrator” and it should work.