Wednesday 9 June 2010

Property 'SiteUrl' contains an invalid URL

When trying to deploy a Business Data Connectivity Model with Visual Studio 2010 you get the following error:

Error occurred in deployment step 'Add Solution': Property 'SiteUrl' contains an invalid URL

Solution:

Add a property to the Feature.xml File:

<Properties>
<Property Key="SiteUrl" Value="http://sp2010.tripleaconnected.com">
</Properties>