06 November 2010

Where is the Site URL property of a SharePoint 2010 Project?

I ran into an issue today opening up an ASP.NET page from a SharePoint 2010 sample project from MSDN today:

The Site URL property of the project does not contain a valid URL. To ensure that designers work as expected, set the Site URL property of the project to the URL of the local SharePoint server. Close all designers, and then open them again.

If you are accustomed to working with VSeWSS 1.3 then you may try to set the URL from the Start Browser With option from the debug tab in the property pages for the project, but that will not work. 

The Site URL property to which this error is referring can be found in the properties tool window when you have the project selected.  If you cannot see the properties tool window then you should be able to make it appear by hitting F4 or selected View > Properties Window from the menu.  From there, you just type the URL into the Site URL property and you should be good to go.

1555-ANTS_60x60_Logo_CP.gif How does your SharePoint application perform? The Beta release of ANTS Performance Profiler 8 adds support for SharePoint 2013, helping rapidly identify and understand SharePoint performance issues. Try the Beta.

Keep up to date with Simple-Talk

For more articles like this delivered fortnightly, sign up to the Simple-Talk newsletter

This post has been viewed 14335 times – thanks for reading.

  • Rate
    [Total: 0    Average: 0/5]
  • Share

Damon Armstrong is a Senior Engineering Team Lead with GimmalSoft in Dallas, Texas, and author of Pro ASP.NET 2.0 Website Programming. He specializes in Microsoft technologies with a focus on SharePoint and ASP.NET. When not staying up all night coding, he can be found playing disc golf, softball, working on something for Carrollton Young Life, or recovering from staying up all night coding.

View all articles by Damon Armstrong