I was getting extremely frustrated by a problem with the database selection until I finally started adding more and more error information to the 'login failed' information. When I started showing myself the connection string, I noticed that the password was always blank on the request following the postback after picking a database.
If anyone is interested (and I notice), then I can post the work around code that I made, which basically just involved writing a page level property to get at a stored copy of the password in the session for temporary use.
Make sure the /Installer/default.aspx file has this in it:
protected string DatabasePassword{ get{ string pass = ViewState["dbPass"] as string;if(pass == null){ pass = "";ViewState["dbPass"] = pass;}return pass;}set{ ViewState["dbPass"] = value;}}
get{ string pass = ViewState["dbPass"] as string;if(pass == null){ pass = "";ViewState["dbPass"] = pass;}return pass;}set{ ViewState["dbPass"] = value;}
string pass = ViewState["dbPass"] as string;if(pass == null){ pass = "";ViewState["dbPass"] = pass;}return pass;
pass = "";ViewState["dbPass"] = pass;
ViewState["dbPass"] = value;
You may also want to just search the file and look into the following code path:
case WizardPanel.SelectDb
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com