I wish I would have had this button before. After installing Exchange 2010 SP2 I found a new button on the exchange console. It’s the “Reset Virtual Directories”. I wish I would have had this button before. earlier I messed up my OWA directory. I don’t know what I did to it. After installing the SP2 it fixed the problem.
Now that feature is there it should make it a lot easier to fix things.