IIS 7 503 error, application pool stop crash, defdoc.dll could not be loaded due to a configuration problem

application-poolsdlliisiis-7

Currently trying to get iis 7 to work, but every time I request a page, the application pool goes into stopped status.

In the event log this is what comes back.

The Module DLL 'C:\Windows\System32\inetsrv\defdoc.dll' could not be loaded due
to a configuration problem. The current configuration only supports loading 
images built for a x86 processor architecture. The data field contains the 
error number. 

I've already re installed iis, any other ideas, I read that someone fixed this by downloading the dll again, but this seems like an odd solution.

Thanks.

EDIT

I have now replaced the file with one I downloaded off the internet, and now it says

The Module DLL 'C:\Windows\System32\inetsrv\protsup.dll' could not be loaded due to a configuration problem.

I hope I don't have to get 100's of these.

Best Answer

It really just seems like your IIS installation (or at least the IIS dlls...) are corrupted.

I would perform the following steps to try and get a "clean" reinstall:

  1. Stop IIS
  2. Uninstall IIS
  3. Delete the c:\windows\system32\inetsrv directory
  4. Reboot
  5. Install IIS