1/27/2010 2:32:50 AM
 Deane C Posts: 11
|
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
|
|
|
0
• link
|
1/27/2010 7:51:19 AM
 David Posts: 81
|
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.
|
|
|
0
• link
|
1/29/2010 6:10:47 AM
 Deane C Posts: 11
|
Excellent, thank you, all working fine.
|
|
|
0
• link
|