cannot Load disp_apache2.2.dll into server: %1 is not a valid Win32 | Community
Skip to main content
Level 2
October 16, 2015
Solved

cannot Load disp_apache2.2.dll into server: %1 is not a valid Win32

  • October 16, 2015
  • 5 replies
  • 7419 views

Hi ,

I am configuring Dispatcher module in Apache HTTP Server(2.2.4 / 64 bit).

Below are the configuration and Error Msg:

System Configuration : Windows 7 / 64 Bit

When I Add LoadModule in httpd.conf file as below 

LoadModule dispatcher_module modules/disp_apache2.2.dll

I will get the below CMD Error:-

D:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd.exe
httpd.exe: Syntax error on line 130 of D:/Program Files/Apache Software Foundati
on/Apache2.2/conf/httpd.conf: Cannot load D:/Program Files/Apache Software Found
ation/Apache2.2/modules/disp_apache2.2.dll into server: %1 is not a valid Win32
application.

I have the Dll file from disp_apache2.2.dll : https://www.adobeaemcloud.com/content/companies/public/adobe/dispatcher/dispatcher.html

Please Let me Know How to Resolve this Issue.

Thanks in Advance

Rahul Jain

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 joerghoh

Hi Rahul,

the dispatcher module is a 32bit DLL and therefor it doesn't work for an Apache HTTPD, which is compiled for 64bit.

kind regards,
Jörg

5 replies

Level 4
October 16, 2015

Hi Rahul,

I can suggest to try 32 bit apache.

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi Rahul,

the dispatcher module is a 32bit DLL and therefor it doesn't work for an Apache HTTPD, which is compiled for 64bit.

kind regards,
Jörg

narindera257447
Level 2
September 30, 2016

Hi ,

Yes, try using Apache 32 bit in your windows 64 bit machine and you will be able to install it and it should work for you.

https://www.apachelounge.com/download/win32/

Thanks and Regards

Narinder

shivangim985778
Level 5
February 4, 2019

Hi i am not getting dispatcher.dll in my ubuntu machine so what is the alternate of dispatcher.dll in ubuntu for modules?

joerghoh
Adobe Employee
Adobe Employee
February 4, 2019

Hi,

please check AEM Dispatcher Release Notes  for a version matching both your requirements and httpd version. There is no special build for Ubuntu, the generic Linux build should suffice.