After upgrading a site to EPiServer CMS 6, I tested the site and everything worked as it should. A couple of hours later I got an email from the customer saying that the page preview was not visible in edit mode. Everything else in edit mode was visible, except for the page preview.
I couldn’t understand this as I had tested everything, but after some investigation I realized that this only happened if you were not accessing the site from the server. And it only occurred in IE (in Firefox the page preview was working, but some of the buttons were missing).
It turns out I made a silly mistake, I forgot to check that the VPP folder paths were correct in the episerver.config file. Still, a missing page preview was a quite confusing indication of this. So if the same thing happens to you, you’ll now know what you can check :)
So the moral of the story is:
- Make sure your VPP folder paths are correct after an upgrade!
- Don’t just test the site from the server it’s on, test it from the outside as well….
- Don’t make silly mistakes like this ;)