• In SSMS:

    Tools -> Options -> SQL Server object explorer -> Scripting: in Object scripting options check the Script permissions.

    Igor Micev,My blog: www.igormicev.com