|
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
The problem is that your business object is expecting to find a DataSource with the DataSourceKey of "" within the DataSources collection, but it doesn't exist. You need to check your AppMain.vb code file and look at the SetDataSources() method. If you're using the ConnectionManager, then you need to check the first parameter in your AddRequiredDataSourceItem() call and make sure it's an empty string. If you're adding the data source manually, you need to make sure the first parameter to the New SqlDataSourceItem() constructor call is an empty string. These parameters define the DataSourceKey for the data source within the collection. So, that value has to match the value on your business objects, which is why the template has an empty string for both of those values.
|