Here are some thoughts. First make sure you are installing them correctly. This OWC video shows how the matched sets should be installed.
If that is how you are installing it, if you have it:
1.) I would spray some deoxit into the ram slots to clean them out, especially the ones that have not been occupied.
2.) If you dont have deoxit, Id use compressed air to suck any potential debris out that may be preventing the ram from being recognized.
3.) Make sure the ram is firmly seated in each ram slot. They dont just pop in and require moderate pressure to pop them in. The clips on the edge of the ram slots should meet the notches on the edge of the ram sticks.
If you still cant get the ram sticks to read and youve diagnosed the slots as good, it could be the ram sticks.
4.) Another way to test the ram slots is to blow a hair dryer over the slots to get them hot and expand the solder joints. With the ram sticks in the suspect slots, this temporarily will cause the ram to be recognized. Turn your the machine off and let it cool fully. Boot the machine and if the slots are bad you will see the ram drop off as the joints cool down and connection ceases. The only cure for this is to go in, take the logic board out and reflow the ram slot solder joints ideally with fresh new, solder - which could be a neat project for you or you could just buy a new logicboard off the internet and install it.
Either way, good luck. I hope its an easy fix