StrataFrame Forum

DataSourceKey[] not defined

http://forum.strataframe.net/Topic31969.aspx

By Ger Cannoll - 4/11/2013

One of our users tried to run our app on a different PC (Windows 7) and gets error message:

Error Creating a new Data layer for Business Object...... The DataSourceKey[] is not defined

I would have expected it to come up with the Dialogue which asks for the SqlServer stuff and where the database is (if it does not find the details)

Whats best way of fixing above problem  
By StrataFrame Team - 4/11/2013

If you're using the connection string manager and it's skipping the gathering of the connection string, you can clear the settings files that store the info and allow them to be recreated.  The files are located in %programdata%\MicroFour\ConnectionData.  There are 2 files in there that can be deleted: AppKeys.dat and Connections.dat.  Clearing those will force the connection string dialog to pop up when you invoke the connection string manager.
By Ger Cannoll - 4/11/2013

Hi Ben

Thats great...

Thanks, Gerard