Well, in my last post I gave you already some hints how to solve this kind of situations:
simple things you may try are:
- make your pixel shader to output float4(ViewNormal,0.0f) to test the normals, the diffuse value (last time it was pretty black), output float4(L,0.0f) to test your camera to light vector etc.
- check that you really set all your lighting parameter values.
The formula works as I checked it last time. Your parameters just weren't correct.