State governments are seeing budget surpluses, but local units are experiencing large deficits and are even facing threats of no government funding at all.