MIDAS Knowledge Base MIDAS Knowledge Base

Fix "500 Internal Server Error / Script failed to send data" on login

If you've successfully installed our Room and Resource Scheduling System, MIDAS, on your IIS server and you see either a "500 Internal Server Error" or a "Script failed to send data" error when you try and login, it's likely that your IIS server has been configured to run Perl scripts through a module called "PerlEx30.dll", rather than through "perl.exe" itself.

"PerlEx" is a plugin used to provide a set of additional optional features to Perl, however, it is known to cause issues with MIDAS, and should be disabled.

To correctly configure Perl on your IIS server, you will need to change the script mapping to C:\perl\bin\perl.exe "%s" %s (or whatever location Perl is installed on your system) rather than an ISAPI module mapping to PerlEx30.dll.

On an IIS7 server, this may be achieved as follows:

  1. Go to Control Panel → Administrative Tools → Internet Information Services (IIS) Manager → Sites → Default Web Site → Handler Mappings → Add Script Map
  2. Enter the following:
    • Request path: *.pl
    • Executable: c:\Perl\bin\perl.exe "%s" %s (where "c:\Perl\bin\" is the location where perl.exe resides on your system)
    • Name: CGI Script Map
    • Press 'OK'
    • Say 'No' to the ISAPI message
  3. Restart IIS
Once you have made these changes, and restarted your server, you should be able to correctly login and begin using MIDAS!

You might also be interested in...


MIDAS » KB » Support » Article 00033

← Return to the Knowledge Base