They should be. They are both AM3. Here is the CPU support list from ASRock which shows that CPU is support from the first bios. http://www.asrock.com/mb/cpu.asp?Model=A780LM-S
If you slapped it together and its not working you might have not put it all together correctly. Try taking it apart and making sure its together correctly, no shorting standoffs, etc.