Sounds odd that you have 40 psi on the rail and noid lights indicate that injectors are working, yet no gas in cylinders. Also sounds odd that you are getting no spark and no fuel. Two different symptoms. Did you know that the engine will not start if the computer looses ground? I think that I would look at the spark problem first, then look for the fuel problem. Make sure the fuel pump is working, check fuel pump relay, fuel cut off, etc.
Please let us know what you find.
Good Luck with it.