Dispatcher Error | Community
Skip to main content
harshs
Level 3
June 11, 2017
Solved

Dispatcher Error

  • June 11, 2017
  • 5 replies
  • 2645 views

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.
Best answer by MC_Stuff

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

MC_Stuff
MC_StuffAccepted solution
Level 10
June 11, 2017

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,

Jitendra_S_Toma
Level 10
June 12, 2017

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.

harshs
harshsAuthor
Level 3
June 12, 2017

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

harshs
harshsAuthor
Level 3
June 12, 2017

Hello MC Stuff,

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

Level 2
June 27, 2019

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?