Based on the code below in Programs.cs:
Whereis the Connections.dat being stored and loaded from?
Windows 7: c:\Documents and Settings\AllUsers\Application Data\MicroFour\ConnectionData ?
Windows 8: c:\ProgramData\Microfour\Connections?
Whereis the AppKeys.dat being stored and loaded from?
Windows 7: c:\Documentsand Settings\All Users\Application Data\MicroFour\ConnectionData ?
Windows 8: c:\ProgramData\Microfour\Connections?
The above is ONLY if the data connections setting for a user isNOT pointing to a Shared Settings File. Is the correct?
PROGRAMS.cs
private static void SetDataSources()
{
//-- Set the information specific to this applicationand the data sources
// Theapplication key:
ConnectionManager.ApplicationKey = "CMT";
ConnectionManager.ApplicationDefaultTitle = "CMT Development Connection";
ConnectionManager.ApplicationDefaultDescription= "This application connection is used byCMT";
//-- Set the required data source information so thatthe ConnectionManager can gather it
// SQL Connection
ConnectionManager.AddRequiredDataSourceItem("", "SQLConnection",
DataSourceTypeOptions.SqlServer, "LOGICMT", "Thisconnection is used by CMT.");
ConnectionManager.AddRequiredDataSourceItem("CMT_RBS", "SQLConnection",
DataSourceTypeOptions.SqlServer,"LOGICMT_RBS", "This connection is used by CMT RBS.");
//-- Make the call to SetConnections which willgather the connection information, show the connection wizard
// if needed and set the DataSourcescollection on the DataLayer class.
ConnectionManager.SetConnections();
SecurityBasics.SecurityDataSourceKey = "CMT_RBS";
}