WORK IN PROGRESS, GET THE STABLE SOURCE FROM THE DOWNLOADS TAB
Merging into main 4.1.0 branch: Resolves a number of open issues, see associated WorkItems - Fix WP crash on invalid connection string due to generation of XML cache on a separate thread - Added option to generate xml cache file on local filesystem (in ASP.NET Temporary Files / CodeGenDir location) by adding <add key="umbracoContentXMLUseLocalTemp" value="true" /> to web.config file. This allows you to run from a SAN on a load-balanced environment whilst allowing each web node to have isolated copies of the xml cache file to avoid WP crashes due to multiple file locks - Others in WorkItems :) [TFS Changeset #64002]
This commit is contained in:
@@ -83,6 +83,8 @@ namespace umbraco.presentation.install.steps
|
||||
DbConnectionStringBuilder connectionStringBuilder = new DbConnectionStringBuilder();
|
||||
connectionStringBuilder.ConnectionString = GlobalSettings.DbDSN;
|
||||
|
||||
// "Data Source=.\\SQLEXPRESS;Initial Catalog=BB_Umbraco_Sandbox1;integrated security=false;user id=umbraco;pwd=umbraco"
|
||||
|
||||
// Prepare the fields
|
||||
|
||||
// Prepare data layer type
|
||||
@@ -97,9 +99,12 @@ namespace umbraco.presentation.install.steps
|
||||
|
||||
// Prepare other fields
|
||||
DatabaseServer.Text = GetConnectionStringValue(connectionStringBuilder, "server");
|
||||
if (string.IsNullOrEmpty(DatabaseServer.Text)) DatabaseServer.Text = GetConnectionStringValue(connectionStringBuilder, "Data Source");
|
||||
DatabaseName.Text = GetConnectionStringValue(connectionStringBuilder, "database");
|
||||
if (string.IsNullOrEmpty(DatabaseName.Text)) DatabaseName.Text = GetConnectionStringValue(connectionStringBuilder, "Initial Catalog");
|
||||
DatabaseUsername.Text = GetConnectionStringValue(connectionStringBuilder, "user id");
|
||||
DatabasePassword.Text = GetConnectionStringValue(connectionStringBuilder, "password");
|
||||
if (string.IsNullOrEmpty(DatabasePassword.Text)) DatabasePassword.Text = GetConnectionStringValue(connectionStringBuilder, "pwd");
|
||||
}
|
||||
|
||||
// Make sure ASP.Net displays the password text
|
||||
|
||||
Reference in New Issue
Block a user