This post was most recently updated on September 30th, 2022.
< 1 min read.This post is about solving the issue with Visual Studio 2010 failing to show the design view of an .aspx-page. Luckily, it’s an easy and pretty classical fix.
Symptoms
Whilst trying to view or edit an aspx-page in design mode within Visual Studio 2010, the window is just plain empty and there’s little you can do about it – selecting view markup or hitting F7 may not do anything, and restarting the Visual Studio doesn’t help.

Solution
The Design view requires a connection to the SharePoint site where you’ll be deploying the solution (or rather, any site). Set the Site URL property in the project settings:

Then close the aspx page and reopen it, and it should work!
Have another workaround? Let me know in the comments section!
- How to output the value of a secret variable in Azure DevOps? - March 4, 2025
- Long Path Tool – an unfortunate review - March 3, 2025
- Copilot Android app refusing to take pictures? I have the dumbest fix you’ll ever hear, but it’ll work, trust me. - February 26, 2025