I decided to create a brand new web project to see whether I could solve the issue in my previous post, and copied all tfe file over from the original project. I could now select a master page, but the intellisense and all page controls were still missing in the code behind. Very frustrating, but I was able to find an easy solution: go to the design page for each aspx file! As soon as I did that, all controls were available in the code behind! Everything is good now, but is this a VS2005 bug?