Just to play devil's advocate, solar may be more expensive, but where does that money go? It doesn't just evaporate, it goes back into the economy somewhere providing more jobs and more demand. Assuming Germany is buying panels it produces itself, then the increased cost of electricity is met by the jobs needed to make and install these panels. As opposed to fossil fuels which would likely be imported and likely creating no new jobs except vanity projects somewhere in the middle east.
So although the end user sees a hike in electricity prices they could also see lower unemployment, crime, better education etc as a result of all this extra industry needed. Sure it requires big subsidies, but so do all other forms of energy production.
I obviously don't have the figures to prove it but given that Germany is currently bankrolling most of Europe implies that on average its overall economic policy is good. In the past countries have fuelled boom times by resource exploitation (Thatcher in the 80s for example with north sea oil) so perhaps you have Germany doing something weird here.
Of course all this theory falls down if the solar panels are being made in China and installed by Polish immigrant workers who are sending all their spare cash home. But then I have no explanation for Germany's current economic boom.