I have a simple one BO, one form project on a Vista 64bit system. When I do an F5, the form runs and the Database Connection Wizard appears. I setup the connection and the form loads and throws an error when I attempt to fill the BO.
The error is:-
DataLayerException An error occurred while creating a new DataLayer for the business object.DataLayerException The DataSourceKey [] is not defined.
Each time I do an F5 and run the project, the Database Connection Wizard always displays. From what I have read, it doesn't look like the wizard is saving the connection details as I believe it is supposed to only run the wizard once.
Have I missed something silly?
Thanks,
Aaron
Afraid I am using my own database.
Thanks anyway,
I am willing to bet that these files cannot be created or properly accessed. However, this may not be the issue in the sense that the StrataFrame connection and the samples use these same files, so if they work then it may be a matter of setup.
In the case that this is the latter issue, look in your AppMain.vb or progam.cs files and look in the SetDataSources method. If you are going to let the connection Wizard manage your connections, then you will need to have the Applicationkey as well as define the RequiredDataSources.
So you might let me take a look at your SetDataSources method to see what you have there if you don't get it figured out.
Thanks.