W^{2,p}-Theory of the Poincaré Problem