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
We can add an option for this folder location, but it probably won't be a quick fix. I will add it to my list. To be honest, over the past 3 years, this logic has changed very little and the folder pathing and locations hasn't changed at all. This is the first time that the permissions have ever become an issue...I don't know if Vista has exaserbated the problem or what, but I guess we can allow this folder to be set so that way the permission issues become the problem of the developer/IT people versus having a static location to which this file is created.
Hi Trent,
Well Vista security like the previous MS-OS will always cause many issues like this one, so I vote for an option to allow us to select the location where these files will be store.
You will want to set the ConnectionManager.ConnectionDataFolder property for your application prior to calling the SetConnections() method. We will probably allow this to be set for the StrataFrame environment itself in the next update. But for now you can at least get your applications finalized with this functionality.