Expand my Community achievements bar.

SOLVED

Dispatcher Error

Avatar

Level 3

Hello!

I am unable to add the dispatcher dll to apache.  I have Apache 2.2 running on Windows 10 and downloaded the dispatcher for Windows from Adobe to.  I have placed the disp_apache2.2.dll file to the module folder and the dispatcher.any to the conf folder in Apache.  However i am unable to restart httpd.  Below is the error that I am seeing

"

The Apache service named  reported the following error:

>>> httpd.exe: Syntax error on line 129 of C:/Apache22/conf/httpd.conf: Cannot load C:/Apache22/modules/disp_apache2.2.dll into server: The Apache service named is not a valid Win32 application.     "

Any suggestions as to why Apache is unable to load the disp_apache2.2.dll ?

Regards
Harsh

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi Harsh,

The binary version compatibility difference between apache and dispatcher causing the issue.  Make sure apache is 32 bit instead of 64 bit.  Or file support request asking adobe if they can give 64 bit dispatcher module for apache 2.2.   AFAIK adobe won;t provide this since they follow official apache distrubution list.

Thanks,

View solution in original post

5 Replies

Avatar

Correct answer by
Level 9

Hi Harsh,

The binary version compatibility difference between apache and dispatcher causing the issue.  Make sure apache is 32 bit instead of 64 bit.  Or file support request asking adobe if they can give 64 bit dispatcher module for apache 2.2.   AFAIK adobe won;t provide this since they follow official apache distrubution list.

Thanks,

Avatar

Level 9

Apart from checking OS & DLL compatibility, Check the syntax error as well.

There might be chances you added some chars or some thing wrong while adding configuration. Validate httpd & dispatcher.any file both.

Avatar

Level 3

Thanks Jitendra,  you tip did help as I had missed a configuration.

Avatar

Level 3

Hello MC Stuff,

Thanks the issue got resolved after I switched to Apache 2.2 0 32 bit version.

Avatar

Level 2

Hi,

I'm using AEM 6.4.

When I tried dispatcher installation steps on apache 2.2 64 bit server, I got this " %1 is not a valid Win32 application." error.

When I tried dispatcher installation steps on apache 2.2 32 bit server, I'm getting "DispatcherNoServerHeader directive is depricated" error.

Can someone help me in solving this please?