IIS error 500 on install.php

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
mbonner@csd.ca.gov
Posts: 1
Joined: 24 Jun 2009, 00:00

IIS error 500 on install.php

Post by mbonner@csd.ca.gov »

Hi,

We're currently trying to standardize our environment so I'm working on converting a Mantis 1.1.7 installation from Apache 2.0/MySQL 5 running on Windows Server 2003 to IIS 7 / SQL Server 2008 running on Windows Server 2008.

I was able to create an IIS directory and login and access our current Mantis database on the MySQL box (at least I can log on and get the initial My View page, I haven't tried much more than that but the basic DB queries are still working under IIS.)

I re-extracted the Admin directory from the Mantis117 archive (I keep this deleted on our Production server). When I try to run the admin/install.php script it shows the "Pre-Installation Check" page, says PHP version is 5.2.10 which is good and safe mode is enabled fro install script which is good. It show all the prompts for the Type of DB and the usenames, etc. I enter the data in the field and click the "Install/Upgrade Database" button and immediately get an "HTTP 500 Internal Server Error" screen. I've tried clicking the box to just display the SQL rather than executing it, but I get the same results.

Any suggestions on how I can trouble-shoot this issue?

Thanks...

Mike :-)
abouchard
Posts: 1
Joined: 11 Aug 2009, 19:01

Re: IIS error 500 on install.php

Post by abouchard »

Hi,

Were you able to solve it? I am currently having the same problem as you had.

Thank you
dialexia
Posts: 28
Joined: 26 Mar 2008, 21:03

Re: IIS error 500 on install.php

Post by dialexia »

Make sure you have the config_inc.php file configured to connect to your mssql database engine; use my example below and compare it with yours:

################################
# Mantis Database Settings
################################

# --- database variables ---------

# set these values to match your setup

# hostname should be either a hostname or connection string to supply to adodb.
# For example, if you would like to connect to a mysql server on the local machine,
# set hostname to 'localhost', and db_type to 'mysql'.
# If you need to supply a port to connect to, set hostname as 'localhost:3306'.

$g_hostname = 'localhost';
$g_db_username = "mantisadmin";
$g_db_password = "1234";
$g_database_name = "mantis";
$g_db_type = "mssql";
Phillip
Post Reply