Secret Server

Please use the Forums for general questions, feedback and feature requests

Want the latest Secret Server news? Sign Up for our Mailing List

 All Threads | New ThreadView:  Search:  
 Author  Thread: When Database is Unavailable the Installer Starts
Deane Copson
Posts: 11
When Database is Unavailable the Installer Starts
Posted: 27 Jan 2010 2:32 AM

Hi Guys,

Is there any way of disabling the web server from automatically going in to the installer when it cannot find the database? I really don't want users to see the installer at any time.

I have a scenario where users connect to 2 web servers via a URL that is linked to an F5 load balancer and these web servers connect to a mirrored SQL instanse spanning 2 sites. In order to test BCP I have to failover from one site to another. In the process of failing over SQL if a user tries to connect to the web server and the database is unavailable then the installer will automatically start. I would prefer just to receive an error message telling the user to refresh the browser or contact support. Administrators could then connect to the specific installer URL if there is a genuine problem.

What do you think?

Deane

[Reply][Quote]
David
Posts: 38
Re: When Database is Unavailable the Installer Starts
Posted: 27 Jan 2010 7:51 AM

You can block access to the installer page by editing the Web.config file in your Secret Server directory. After opening this file in a text editor, find the section near the bottom that starts with:

location path="Installer.aspx"

Inside this section, change

allow users="?"

to

deny users="*"

When upgrading, you will have to change this back to the original value.

[Reply][Quote]
Deane Copson
Posts: 11
Re: When Database is Unavailable the Installer Starts
Posted: 29 Jan 2010 6:10 AM

Excellent, thank you, all working fine.

[Reply][Quote]
 Page 1 of 1