We are getting the following error message when trying to deploy a BCS model as a feature:
The default web application could not be determined. Set the SiteUrl property in feature xxx_yyy to the URL of the desired site and retry activation.
The problem is apparently the missing SiteUrl property on the feature, which is needed to locate the BCS service - but we have deployed many times before without this property! The problem with this property is that it's environment
specific, so setting it would make our WSP only good for one specific environment.
According to the following thread, we SHOULD be able to deploy BCS models
without the SiteUrl feature (at least in RTM):
Any idea on how this can be solved? Adding the SiteUrl is not an option since we can't possibly create separate WSPs for different environments.
View Complete Post