If you came across to this error while installing apache2, well, heres the fix.
Goto your apache installation folder its usually at:
C:\Program Files\Apache Group\Apache2\bin
Execute this command:
Apache.exe -k install -n "Apache2"
-k install -- tells apache to install an Apache service
-n "Apache2" -- sets its service name to be Apache2
-k start -- Start Apache server
-k restart -- Tells Apache to do a restart
You can then test your installation by typing in http://localhost/ to your browser address bar.

in the same problem these r what i did and worked:
1. i wrote my email adress to htpd.conf near the serveradmin line.
example:
serverADMIN example@example.com
2. i did what is written above
if u dont do the first the above may not work
Well..... It finally worked for me too. Only after I read the "Read Me" file that comes with Apache.
Nowadays you have to CD to BIN and then do:
"To install and start the service after you have corrected the httpd.conf file, use the command
bin\httpd.exe -k install
bin\httpd.exe -k start "
That's from "Read Me" file. Here is how to do it:
1. Go to Start - Run - type cmd - press Enter.
2. Type cd C:\Program Files\Apache Software Foundation\Apache2.2\bin (or the exact location of YOUR Apache bin folder) and press Enter.
3. Type httpd.exe -k install press Enter
Now type
httpd.exe -k start press Enter
It works !
Oh.... And forget about IIS or any other server or program already running on port 80. Just change it to 8080 during Apache installation, or later in configuration file, so there will be no conflict. Later, to use your Apache server you would need to type that port # in a browser, like this:
localhost:8080