Dispatcher Error | Community
Skip to main content
harshs
Level 3
Jun 11, 2017 11:23 AM UTC
Solved

Dispatcher Error

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
MC_Stuff
MC_StuffAccepted solution
Level 10
Jun 11, 2017 6:10 PM UTC

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,

5 replies

Level 2
Jun 27, 2019 1:18 PM UTC

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?

Translate
harshs
harshsAuthor
Level 3
Jun 12, 2017 3:11 PM UTC

Hello MC Stuff,

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

Translate
harshs
harshsAuthor
Level 3
Jun 12, 2017 3:10 PM UTC

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

Translate
Jitendra_S_Toma
Level 10
Jun 12, 2017 3:55 AM UTC

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.

Translate
MC_Stuff
MC_StuffAccepted solution
Level 10
Jun 11, 2017 6:10 PM UTC

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,

Translate