Sounds like a bad idea. As others have already noted, panels would be prime targets for vandals. And how would the solar energy generated be used?
Walls 40 or 50 ft tall sounds good though.
The electricity would probably be sold to the grid like other power plants do.