[SOLVED] Installation with IIS: configuration issue

Moderator: crythias

Locked
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

[SOLVED] Installation with IIS: configuration issue

Post by HervE »

Hello,

I am installing OTRS on Windows again, with IIS.

After downloading and launching otrs-3.3.8-win-installer-3.0.6.exe, I configured IIS using this page.

However, I just can't finish the installation since installer.pl fails.
Running the URL http://localhost:8080/otrs/installer.pl leads to an HTTP error 500.0 - Internal Server Error, with the following information:

Module IsapiModule
Notification ExecuteRequestHandler
Handler PerlEx
Error code 0x800703e6
Requested URL http://localhost:8080/otrs/installer.pl
Physical access path C:\otrs\OTRS\bin\cgi-bin\installer.pl
Session method Anonymous
User Session Anonymous

I just can't figure out what I did wrong.
Could anybody help please?

Best regards,
HervE
Last edited by HervE on 12 Sep 2014, 14:20, edited 3 times in total.
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: Installation with IIS: can't run installer.pl

Post by eandrex »

Hi.

Consider this:

if you are going to use PerlEx30.dll as your .pl handler, Do not use ActivePerl 5.16.3.1604( switch to ActivePerl 5.16.3.1603 instead)
if you still want to use ActivePerl 5.16.3.1604, then you have to use perl.exe as your .pl handler

make sure your iis user (IUSR) and your AppPool have appropriate permissions in <OTRS_HOME>
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Installation with IIS: can't run installer.pl

Post by HervE »

Hello,

Thanks for your answer.

Actually as handler I use perl516.dll contained in StrawberryPerl which comes native with OTRS Win installer.
In a previous installation I configured it this way and it worked.
Now something (that or something else?) fails.

Best regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: [SOLVED] Installation with IIS: can't run installer.pl

Post by HervE »

Hello,

This morning it works.

I don't know why, for nothing changed except the reboot.
And the URL: http://localhost/otrs/installer.pl (but I'm sure I've tested this yesterday already).
And the Default Web Site appears stopped in IIS.

Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Installation with IIS: configuration issue

Post by HervE »

Hello,

Wrong good news.

It worked this morning, yes... but with Apache!

Indeed I was too much into IIS configuration, and didn't even notice Apache service was running. I stopped it and now OTRS doesn't work.

Running the URL http://localhost:8080/otrs/index.pl leads to an HTTP error 500.0 - Internal Server Error, with the following information:

Module IsapiModule
Notification ExecuteRequestHandler
Handler PerlEx
Error code 0x8007007f
Requested URL http://localhost:8080/otrs/index.pl
Physical access path C:\otrs\OTRS\bin\cgi-bin\index.pl
Session method Anonymous
User Session Anonymous

My handler mapping named "PerlEx" associates *.pl to C:\otrs\StrawberryPerl\perl\bin\perl516.dll.
Is it correct ?

Best regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Installation with IIS: configuration issue

Post by HervE »

I downloaded an older version PerlEx30.dll and created a C:\Perl\bin\ folder to put it into.
So that now my handler mapping named PerlEx associates *.pl to C:\Perl\bin\perlex30.dll

As a result, still an error, but with a different error code: 0x8007007e (instead of 7f).

Can anybody help, because I really need to set up OTRS with IIS?

Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Installation with IIS: configuration issue

Post by HervE »

Hello,

I still can't figure out my problem of Perl configuration in IIS.
The handler fails, whatever the URL is, provided that it ends with .pl

I've read many pages over the Internet, nothing helped.
(Maybe a permission issue??)

Does anybody have a clue for me?

Best regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
xantippe
Znuny newbie
Posts: 8
Joined: 07 Feb 2014, 12:48
Znuny Version: 3.3.1
Real Name: Davor Jagec
Company: SMIT d.o.o.

Re: Installation with IIS: configuration issue

Post by xantippe »

Try this,
viewtopic.php?f=62&t=23417#p100276
hope this helps...
OTRS 3.3.1 on Windows Server 2008 R2, IIS, MySQL
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Installation with IIS: configuration issue

Post by HervE »

Hello,

Thank you for your answer.

Actually I am not at the layout stage already.
I am just looking for the right way to configure IIS so that Perl is working.

So, in IIS Handler Mappings, I added the following Module Mapping:
Mappage Perl PL.png
And got the following error:
erreur 500.0 code 0x8007007e.png
Actually, even if I try http://localhost:8080/nothing.pl as the URL, I get the same error, since my very problem is making IIS decode whatever ends with .pl

Do you have an idea?

Best regards,
HervE
You do not have the required permissions to view the files attached to this post.
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Installation with IIS: configuration issue

Post by HervE »

I uninstalled and reinstalled completely ActivePerl version 5.16.3.1603.
And now my Perl test scripts work!

...But OTRS doesn't unfortunately.
I've opened a new thread about this new problem.

Regards.
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Locked