title: "Generate scripts" in SQL Server fails on "getting the list of objects from (mydbname)"
body: <p><a href="https://i.stack.imgur.com/kAdRQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kAdRQ.png" alt=""></a> </p>
  
  <p>Why would this fail? Some sort of permissions issue, maybe? I'm logged in as sa, not sure why that would happen... Clicking help just brings up the documentation on generating scripts, not any sort of "known solutions"...</p>