Problem Rendering Shadow Map

I'm attempting to add shadow mapping to my programs using a spotlight as the light source. I've set up enough to be able to render my shadow map, but whenever I look at it, it's just a black square. I'm certain that I'm rendering it correctly, so the problem is with actually storing depth values in the texture. Does anyone have any ideas what could be causing this?